{"action":"closed","issue":{"url":"https://api.github.com/repos/travis-ci/dpl/issues/330","repository_url":"https://api.github.com/repos/travis-ci/dpl","labels_url":"https://api.github.com/repos/travis-ci/dpl/issues/330/labels{/name}","comments_url":"https://api.github.com/repos/travis-ci/dpl/issues/330/comments","events_url":"https://api.github.com/repos/travis-ci/dpl/issues/330/events","html_url":"https://github.com/travis-ci/dpl/issues/330","id":105650858,"number":330,"title":"Update docs for deploying on Bintray - no mention about 'override' switch","user":{"login":"RippeR37","id":7466989,"avatar_url":"https://avatars0.githubusercontent.com/u/7466989?v=4","gravatar_id":"","url":"https://api.github.com/users/RippeR37","html_url":"https://github.com/RippeR37","followers_url":"https://api.github.com/users/RippeR37/followers","following_url":"https://api.github.com/users/RippeR37/following{/other_user}","gists_url":"https://api.github.com/users/RippeR37/gists{/gist_id}","starred_url":"https://api.github.com/users/RippeR37/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RippeR37/subscriptions","organizations_url":"https://api.github.com/users/RippeR37/orgs","repos_url":"https://api.github.com/users/RippeR37/repos","events_url":"https://api.github.com/users/RippeR37/events{/privacy}","received_events_url":"https://api.github.com/users/RippeR37/received_events","type":"User","site_admin":false},"labels":[{"id":899940630,"url":"https://api.github.com/repos/travis-ci/dpl/labels/stale","name":"stale","color":"ffffff","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2015-09-09T18:02:22Z","updated_at":"2018-04-13T22:56:11Z","closed_at":"2018-04-13T22:56:11Z","author_association":"NONE","body":"There is no mention on your [docs](http://docs.travis-ci.com/user/deployment/bintray/) on how to set 'override' switch when deploying files on [Bintray](https://bintray.com/). It took me some considerable amount of time to read though [bintray provider script](https://github.com/travis-ci/dpl/blob/master/lib/dpl/provider/bintray.rb) to find out that what i need is something like that:\n\n```\n{\n    \"package\": { /* ... */ },\n    \"version\": { /* ... */ },\n    \"files\": \n    [\n        { \n            /* ... */\n            \"matrixParams\": { \"override\": 1 } /* those files will overwrite already existing ones */\n        },\n        { \n            /* ... */\n            \"matrixParams\": { \"override\": 0 } /* default, those files will not (their upload will fail, job will not) */\n        }\n    ],\n    \"publish\": true\n}\n```\n\nIt might be good idea to update your docs and add info about that switch, as it's rather useful feature.\n"}}
{"actor":{"display_login":"stale"}}