{"action":"closed","issue":{"url":"https://api.github.com/repos/travis-ci/dpl/issues/786","repository_url":"https://api.github.com/repos/travis-ci/dpl","labels_url":"https://api.github.com/repos/travis-ci/dpl/issues/786/labels{/name}","comments_url":"https://api.github.com/repos/travis-ci/dpl/issues/786/comments","events_url":"https://api.github.com/repos/travis-ci/dpl/issues/786/events","html_url":"https://github.com/travis-ci/dpl/issues/786","id":306899174,"number":786,"title":"dpl 1.9.2 uploads S3 artefacts to incorrect path","user":{"login":"sandfox","id":260919,"avatar_url":"https://avatars3.githubusercontent.com/u/260919?v=4","gravatar_id":"","url":"https://api.github.com/users/sandfox","html_url":"https://github.com/sandfox","followers_url":"https://api.github.com/users/sandfox/followers","following_url":"https://api.github.com/users/sandfox/following{/other_user}","gists_url":"https://api.github.com/users/sandfox/gists{/gist_id}","starred_url":"https://api.github.com/users/sandfox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandfox/subscriptions","organizations_url":"https://api.github.com/users/sandfox/orgs","repos_url":"https://api.github.com/users/sandfox/repos","events_url":"https://api.github.com/users/sandfox/events{/privacy}","received_events_url":"https://api.github.com/users/sandfox/received_events","type":"User","site_admin":false},"labels":[{"id":41185411,"url":"https://api.github.com/repos/travis-ci/dpl/labels/bug","name":"bug","color":"fc2929","default":true},{"id":112488806,"url":"https://api.github.com/repos/travis-ci/dpl/labels/provider:%20s3","name":"provider: s3","color":"006b75","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-03-20T14:50:03Z","updated_at":"2018-03-20T15:57:38Z","closed_at":"2018-03-20T15:57:38Z","author_association":"NONE","body":"The following config \r\n```yml\r\n      deploy:\r\n        - provider: s3\r\n          skip_cleanup: true\r\n          upload-dir: main-branch-builds\r\n          local_dir: artifact\r\n```\r\n\r\nunder `dpl@1.9.1` uploads `my-file.tar.gz` from the `artifact` folder  to `/main-branch-builds/my-file.tar.gz`\r\n```sh\r\nuploading \"my-file.tar.gz\" with {:content_type=>\"application/gzip\"}\r\n```\r\n\r\nunder `dpl@1.9.2` uploads `my-file.tar.gz`  from the `artifact` folder to `/main-branch-builds/artifact/my-file.tar.gz`\r\n```sh\r\nuploading \"artifact/my-file.tar.gz\" with {:content_type=>\"application/gzip\"}\r\n```\r\n\r\nThe `1.9.1` behaviour was the expected for one for us"}}
{"actor":{"display_login":"BanzaiMan"}}