{"action":"created","issue":{"url":"https://api.github.com/repos/semantic-release/semantic-release/issues/991","repository_url":"https://api.github.com/repos/semantic-release/semantic-release","labels_url":"https://api.github.com/repos/semantic-release/semantic-release/issues/991/labels{/name}","comments_url":"https://api.github.com/repos/semantic-release/semantic-release/issues/991/comments","events_url":"https://api.github.com/repos/semantic-release/semantic-release/issues/991/events","html_url":"https://github.com/semantic-release/semantic-release/pull/991","id":382419761,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMyMTMyOTI4","number":991,"title":"feat: support multiple branches and distribution channels","user":{"login":"pvdlg","id":3250552,"node_id":"MDQ6VXNlcjMyNTA1NTI=","avatar_url":"https://avatars0.githubusercontent.com/u/3250552?v=4","gravatar_id":"","url":"https://api.github.com/users/pvdlg","html_url":"https://github.com/pvdlg","followers_url":"https://api.github.com/users/pvdlg/followers","following_url":"https://api.github.com/users/pvdlg/following{/other_user}","gists_url":"https://api.github.com/users/pvdlg/gists{/gist_id}","starred_url":"https://api.github.com/users/pvdlg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pvdlg/subscriptions","organizations_url":"https://api.github.com/users/pvdlg/orgs","repos_url":"https://api.github.com/users/pvdlg/repos","events_url":"https://api.github.com/users/pvdlg/events{/privacy}","received_events_url":"https://api.github.com/users/pvdlg/received_events","type":"User","site_admin":false},"labels":[{"id":780659131,"node_id":"MDU6TGFiZWw3ODA2NTkxMzE=","url":"https://api.github.com/repos/semantic-release/semantic-release/labels/core","name":"core","color":"bfd4f2","default":false},{"id":239250070,"node_id":"MDU6TGFiZWwyMzkyNTAwNzA=","url":"https://api.github.com/repos/semantic-release/semantic-release/labels/feature","name":"feature","color":"0052cc","default":false},{"id":1145121477,"node_id":"MDU6TGFiZWwxMTQ1MTIxNDc3","url":"https://api.github.com/repos/semantic-release/semantic-release/labels/released%20on%20@beta","name":"released on @beta","color":"ededed","default":false}],"state":"closed","locked":false,"assignee":{"login":"pvdlg","id":3250552,"node_id":"MDQ6VXNlcjMyNTA1NTI=","avatar_url":"https://avatars0.githubusercontent.com/u/3250552?v=4","gravatar_id":"","url":"https://api.github.com/users/pvdlg","html_url":"https://github.com/pvdlg","followers_url":"https://api.github.com/users/pvdlg/followers","following_url":"https://api.github.com/users/pvdlg/following{/other_user}","gists_url":"https://api.github.com/users/pvdlg/gists{/gist_id}","starred_url":"https://api.github.com/users/pvdlg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pvdlg/subscriptions","organizations_url":"https://api.github.com/users/pvdlg/orgs","repos_url":"https://api.github.com/users/pvdlg/repos","events_url":"https://api.github.com/users/pvdlg/events{/privacy}","received_events_url":"https://api.github.com/users/pvdlg/received_events","type":"User","site_admin":false},"assignees":[{"login":"pvdlg","id":3250552,"node_id":"MDQ6VXNlcjMyNTA1NTI=","avatar_url":"https://avatars0.githubusercontent.com/u/3250552?v=4","gravatar_id":"","url":"https://api.github.com/users/pvdlg","html_url":"https://github.com/pvdlg","followers_url":"https://api.github.com/users/pvdlg/followers","following_url":"https://api.github.com/users/pvdlg/following{/other_user}","gists_url":"https://api.github.com/users/pvdlg/gists{/gist_id}","starred_url":"https://api.github.com/users/pvdlg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pvdlg/subscriptions","organizations_url":"https://api.github.com/users/pvdlg/orgs","repos_url":"https://api.github.com/users/pvdlg/repos","events_url":"https://api.github.com/users/pvdlg/events{/privacy}","received_events_url":"https://api.github.com/users/pvdlg/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2018-11-19T22:30:08Z","updated_at":"2018-12-11T07:17:43Z","closed_at":"2018-11-29T19:13:05Z","author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/semantic-release/semantic-release/pulls/991","html_url":"https://github.com/semantic-release/semantic-release/pull/991","diff_url":"https://github.com/semantic-release/semantic-release/pull/991.diff","patch_url":"https://github.com/semantic-release/semantic-release/pull/991.patch"},"body":"Fix #563. Connected to #563.\r\n\r\n- Allow to configure multiple branches to release from\r\n- Allow to define a distribution channel associated with each branch\r\n- Manage the availability on distribution channels based on git merges\r\n- Support regular releases, maintenance releases and pre-releases\r\n- Add the `addChannel` plugin step to make an existing release available on a different distribution channel\r\n\r\nIt differs from semantic-release/evolution#1 in two points:\r\n- Adding a release to a distribution channel is done with a the new plugin hook `addChannel` rather than using the existing `publish`. Publishing and adding to a channel do not share much and adding a new hook avoid forcing existing plugins to update their `publish` function to handle the case where no new release is created but only moved to a different distribution channel.\r\n- When a release is publish on a given distribution channel, the associated tag has the format `v<version>@<channel>`. That allow semantic-release to keep a state of what is available where and avoid continuously adding the same version on a distribution channel  on every run.\r\n\r\nTo release this feature I propose to:\r\n- Rename the branch `caribou` to `master` for consistency. That also allows us to use the default config.\r\n- Create a `beta` branch and merge this PR in it, so we would release `v16.0.0-beta.1` for people to test. This way if we find issues that are solved by a breaking change we can do it on the `beta` branch and we don't have to release a `v17.0.0`, `v18.0.0` etc... for fixes on this feature.\r\n- Create the branch `next` for working on next major release in the future."},"comment":{"url":"https://api.github.com/repos/semantic-release/semantic-release/issues/comments/446097376","html_url":"https://github.com/semantic-release/semantic-release/pull/991#issuecomment-446097376","issue_url":"https://api.github.com/repos/semantic-release/semantic-release/issues/991","id":446097376,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NjA5NzM3Ng==","user":{"login":"PawelWesolowski","id":17248853,"node_id":"MDQ6VXNlcjE3MjQ4ODUz","avatar_url":"https://avatars0.githubusercontent.com/u/17248853?v=4","gravatar_id":"","url":"https://api.github.com/users/PawelWesolowski","html_url":"https://github.com/PawelWesolowski","followers_url":"https://api.github.com/users/PawelWesolowski/followers","following_url":"https://api.github.com/users/PawelWesolowski/following{/other_user}","gists_url":"https://api.github.com/users/PawelWesolowski/gists{/gist_id}","starred_url":"https://api.github.com/users/PawelWesolowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PawelWesolowski/subscriptions","organizations_url":"https://api.github.com/users/PawelWesolowski/orgs","repos_url":"https://api.github.com/users/PawelWesolowski/repos","events_url":"https://api.github.com/users/PawelWesolowski/events{/privacy}","received_events_url":"https://api.github.com/users/PawelWesolowski/received_events","type":"User","site_admin":false},"created_at":"2018-12-11T07:17:43Z","updated_at":"2018-12-11T07:17:43Z","author_association":"NONE","body":"Thanks a lot @pvdlg !\r\nBtw: I did not find the this doc page because I have just followed the \"configuration\" link from [here](https://github.com/semantic-release/semantic-release/blob/beta/docs/usage/README.md)\r\nCheers!"}}
{"actor":{"display_login":"PawelWesolowski"}}