{"action":"created","issue":{"url":"https://api.github.com/repos/allegro/axion-release-plugin/issues/50","labels_url":"https://api.github.com/repos/allegro/axion-release-plugin/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/allegro/axion-release-plugin/issues/50/comments","events_url":"https://api.github.com/repos/allegro/axion-release-plugin/issues/50/events","html_url":"https://github.com/allegro/axion-release-plugin/issues/50","id":57209814,"number":50,"title":"Abitlity to create a release branch and to use createReleaseCommit on it","user":{"login":"martinda","id":164060,"avatar_url":"https://avatars.githubusercontent.com/u/164060?v=3","gravatar_id":"","url":"https://api.github.com/users/martinda","html_url":"https://github.com/martinda","followers_url":"https://api.github.com/users/martinda/followers","following_url":"https://api.github.com/users/martinda/following{/other_user}","gists_url":"https://api.github.com/users/martinda/gists{/gist_id}","starred_url":"https://api.github.com/users/martinda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinda/subscriptions","organizations_url":"https://api.github.com/users/martinda/orgs","repos_url":"https://api.github.com/users/martinda/repos","events_url":"https://api.github.com/users/martinda/events{/privacy}","received_events_url":"https://api.github.com/users/martinda/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-02-10T17:48:21Z","updated_at":"2015-02-20T23:02:03Z","closed_at":null,"body":"Some workflows involve the creation of a release branch. Would this be an appropriate feature for this plugin? A branch would be created, then a release commit would be made to that branch. IT would work along with the createReleaseCommit feature, in the sense that the commit would be made to the release branch. The release branch would be named in a similar manner as the tag is named. What do you think?"},"comment":{"url":"https://api.github.com/repos/allegro/axion-release-plugin/issues/comments/75335621","html_url":"https://github.com/allegro/axion-release-plugin/issues/50#issuecomment-75335621","issue_url":"https://api.github.com/repos/allegro/axion-release-plugin/issues/50","id":75335621,"user":{"login":"adamdubiel","id":5269406,"avatar_url":"https://avatars.githubusercontent.com/u/5269406?v=3","gravatar_id":"","url":"https://api.github.com/users/adamdubiel","html_url":"https://github.com/adamdubiel","followers_url":"https://api.github.com/users/adamdubiel/followers","following_url":"https://api.github.com/users/adamdubiel/following{/other_user}","gists_url":"https://api.github.com/users/adamdubiel/gists{/gist_id}","starred_url":"https://api.github.com/users/adamdubiel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamdubiel/subscriptions","organizations_url":"https://api.github.com/users/adamdubiel/orgs","repos_url":"https://api.github.com/users/adamdubiel/repos","events_url":"https://api.github.com/users/adamdubiel/events{/privacy}","received_events_url":"https://api.github.com/users/adamdubiel/received_events","type":"User","site_admin":false},"created_at":"2015-02-20T23:02:02Z","updated_at":"2015-02-20T23:02:02Z","body":"If you need to customize pre-release or build metadata, just create `versionCreator` - you have access to current commit id etc. If you come up with something you would like to share, i will add it to predefined creators.\r\n\r\nAs to the general problem: i'm thinking you could have the release branch and on release, inspect branch history. If commits since last release come from branch bugfix/*, then increment patch. If any of them comes from some feature/*, increment minor. \r\n\r\n```\r\nrelease    ----o---m----m---o\r\nbugfix/*    -------/------/-------\r\nfeature/*  -------------/--------\r\n```\r\n\r\nAbove graph shows situation in which release branch has been released, then both bugfix and feature branches have been merged. Now when inspecting history we could see the need of updating minor version. Does it look like something you need?\r\n\r\nif it does, i need to think if its technically possible to achieve.."}}