{"action":"created","issue":{"url":"https://api.github.com/repos/allegro/axion-release-plugin/issues/79","labels_url":"https://api.github.com/repos/allegro/axion-release-plugin/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/allegro/axion-release-plugin/issues/79/comments","events_url":"https://api.github.com/repos/allegro/axion-release-plugin/issues/79/events","html_url":"https://github.com/allegro/axion-release-plugin/issues/79","id":76384177,"number":79,"title":"Custom incrementing rules","user":{"login":"vbuell","id":82733,"avatar_url":"https://avatars.githubusercontent.com/u/82733?v=3","gravatar_id":"","url":"https://api.github.com/users/vbuell","html_url":"https://github.com/vbuell","followers_url":"https://api.github.com/users/vbuell/followers","following_url":"https://api.github.com/users/vbuell/following{/other_user}","gists_url":"https://api.github.com/users/vbuell/gists{/gist_id}","starred_url":"https://api.github.com/users/vbuell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vbuell/subscriptions","organizations_url":"https://api.github.com/users/vbuell/orgs","repos_url":"https://api.github.com/users/vbuell/repos","events_url":"https://api.github.com/users/vbuell/events{/privacy}","received_events_url":"https://api.github.com/users/vbuell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-14T14:54:10Z","updated_at":"2015-05-14T14:57:23Z","closed_at":null,"body":"Axion should support custom semantic version incrementing strategies like:\r\n\r\n- Increment patch version if on release branch. Increment minor version otherwise\r\n- Increment pre-release version (rc2 -> rc3) if current version has pre-release part and it ends with digit. Increment patch version otherwise\r\n- etc"},"comment":{"url":"https://api.github.com/repos/allegro/axion-release-plugin/issues/comments/102062728","html_url":"https://github.com/allegro/axion-release-plugin/issues/79#issuecomment-102062728","issue_url":"https://api.github.com/repos/allegro/axion-release-plugin/issues/79","id":102062728,"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-05-14T14:57:23Z","updated_at":"2015-05-14T14:57:23Z","body":"I have a feeling solving this https://github.com/allegro/axion-release-plugin/issues/52 would cover also this usecase. In general the solution would be adding configurable version incrementer, that could decide how to change the version based on X (where X could be git history or current version).\r\n\r\nbtw sorry i haven't checked the DI code yet :("}}