{"action":"created","comment":{"url":"https://api.github.com/repos/allegro/axion-release-plugin/pulls/comments/29550417","id":29550417,"diff_hunk":"@@ -96,11 +96,15 @@ class VersionConfig {\n     VersionWithPosition getRawVersion() {\n         if (rawVersion == null) {\n             ensureVersionServiceExists()\n-            rawVersion = versionService.currentVersion(this, VersionReadOptions.fromProject(project))\n+            rawVersion = versionService.currentVersion(this, getVersionReadOptions())\n         }\n         return rawVersion\n     }\n \n+    VersionReadOptions getVersionReadOptions() {","path":"src/main/groovy/pl/allegro/tech/build/axion/release/domain/VersionConfig.groovy","position":19,"original_position":19,"commit_id":"4405df3a97859f7d80d5e415e2d774af03f84f71","original_commit_id":"4405df3a97859f7d80d5e415e2d774af03f84f71","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},"body":"ah, i see it in Releaser now, nevermind","created_at":"2015-05-02T20:29:02Z","updated_at":"2015-05-02T20:29:02Z","html_url":"https://github.com/allegro/axion-release-plugin/pull/73#discussion_r29550417","pull_request_url":"https://api.github.com/repos/allegro/axion-release-plugin/pulls/73","_links":{"self":{"href":"https://api.github.com/repos/allegro/axion-release-plugin/pulls/comments/29550417"},"html":{"href":"https://github.com/allegro/axion-release-plugin/pull/73#discussion_r29550417"},"pull_request":{"href":"https://api.github.com/repos/allegro/axion-release-plugin/pulls/73"}}},"pull_request":{"url":"https://api.github.com/repos/allegro/axion-release-plugin/pulls/73","id":34569736,"html_url":"https://github.com/allegro/axion-release-plugin/pull/73","diff_url":"https://github.com/allegro/axion-release-plugin/pull/73.diff","patch_url":"https://github.com/allegro/axion-release-plugin/pull/73.patch","issue_url":"https://api.github.com/repos/allegro/axion-release-plugin/issues/73","number":73,"state":"open","locked":false,"title":"Always release if force version","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},"body":"PR for https://github.com/allegro/axion-release-plugin/issues/70\r\n\r\n== copy from Issue ==\r\nIt's impossible to release forced version when:\r\n\r\n- we are currently on released version but we want to release yet another version (say, we have many releasing branches and I want to release from the same position both 1.0.0 and 0.99.15)\r\n- in case if something went wrong last time and axion already had created tag but later didn't managed to push changes to remote; and we want to re-release it again after we have fixed the issue\r\n\r\nFor cases like this it make sense to treat forceVersion option more strictly way - it should try to re-release the version if possible, even if we are already on released version.\r\n","created_at":"2015-05-01T21:40:09Z","updated_at":"2015-05-02T20:29:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0e782015d9475ae8caac6a07fac0bbf0fccf07ac","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/allegro/axion-release-plugin/pulls/73/commits","review_comments_url":"https://api.github.com/repos/allegro/axion-release-plugin/pulls/73/comments","review_comment_url":"https://api.github.com/repos/allegro/axion-release-plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/allegro/axion-release-plugin/issues/73/comments","statuses_url":"https://api.github.com/repos/allegro/axion-release-plugin/statuses/4405df3a97859f7d80d5e415e2d774af03f84f71","head":{"label":"vbuell:feature/70","ref":"feature/70","sha":"4405df3a97859f7d80d5e415e2d774af03f84f71","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},"repo":{"id":34906252,"name":"axion-release-plugin","full_name":"vbuell/axion-release-plugin","owner":{"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},"private":false,"html_url":"https://github.com/vbuell/axion-release-plugin","description":"Gradle release & version management plugin.","fork":true,"url":"https://api.github.com/repos/vbuell/axion-release-plugin","forks_url":"https://api.github.com/repos/vbuell/axion-release-plugin/forks","keys_url":"https://api.github.com/repos/vbuell/axion-release-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vbuell/axion-release-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vbuell/axion-release-plugin/teams","hooks_url":"https://api.github.com/repos/vbuell/axion-release-plugin/hooks","issue_events_url":"https://api.github.com/repos/vbuell/axion-release-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/vbuell/axion-release-plugin/events","assignees_url":"https://api.github.com/repos/vbuell/axion-release-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/vbuell/axion-release-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/vbuell/axion-release-plugin/tags","blobs_url":"https://api.github.com/repos/vbuell/axion-release-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vbuell/axion-release-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vbuell/axion-release-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/vbuell/axion-release-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vbuell/axion-release-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/vbuell/axion-release-plugin/languages","stargazers_url":"https://api.github.com/repos/vbuell/axion-release-plugin/stargazers","contributors_url":"https://api.github.com/repos/vbuell/axion-release-plugin/contributors","subscribers_url":"https://api.github.com/repos/vbuell/axion-release-plugin/subscribers","subscription_url":"https://api.github.com/repos/vbuell/axion-release-plugin/subscription","commits_url":"https://api.github.com/repos/vbuell/axion-release-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/vbuell/axion-release-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/vbuell/axion-release-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/vbuell/axion-release-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/vbuell/axion-release-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/vbuell/axion-release-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vbuell/axion-release-plugin/merges","archive_url":"https://api.github.com/repos/vbuell/axion-release-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vbuell/axion-release-plugin/downloads","issues_url":"https://api.github.com/repos/vbuell/axion-release-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/vbuell/axion-release-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/vbuell/axion-release-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/vbuell/axion-release-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vbuell/axion-release-plugin/labels{/name}","releases_url":"https://api.github.com/repos/vbuell/axion-release-plugin/releases{/id}","created_at":"2015-05-01T14:19:46Z","updated_at":"2015-05-01T14:19:46Z","pushed_at":"2015-05-01T22:39:13Z","git_url":"git://github.com/vbuell/axion-release-plugin.git","ssh_url":"git@github.com:vbuell/axion-release-plugin.git","clone_url":"https://github.com/vbuell/axion-release-plugin.git","svn_url":"https://github.com/vbuell/axion-release-plugin","homepage":null,"size":380,"stargazers_count":0,"watchers_count":0,"language":"Groovy","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"allegro:master","ref":"master","sha":"1b745b25b08e691dd4ca68c5ea83ff5231fece5d","user":{"login":"allegro","id":562236,"avatar_url":"https://avatars.githubusercontent.com/u/562236?v=3","gravatar_id":"","url":"https://api.github.com/users/allegro","html_url":"https://github.com/allegro","followers_url":"https://api.github.com/users/allegro/followers","following_url":"https://api.github.com/users/allegro/following{/other_user}","gists_url":"https://api.github.com/users/allegro/gists{/gist_id}","starred_url":"https://api.github.com/users/allegro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allegro/subscriptions","organizations_url":"https://api.github.com/users/allegro/orgs","repos_url":"https://api.github.com/users/allegro/repos","events_url":"https://api.github.com/users/allegro/events{/privacy}","received_events_url":"https://api.github.com/users/allegro/received_events","type":"Organization","site_admin":false},"repo":{"id":24092835,"name":"axion-release-plugin","full_name":"allegro/axion-release-plugin","owner":{"login":"allegro","id":562236,"avatar_url":"https://avatars.githubusercontent.com/u/562236?v=3","gravatar_id":"","url":"https://api.github.com/users/allegro","html_url":"https://github.com/allegro","followers_url":"https://api.github.com/users/allegro/followers","following_url":"https://api.github.com/users/allegro/following{/other_user}","gists_url":"https://api.github.com/users/allegro/gists{/gist_id}","starred_url":"https://api.github.com/users/allegro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allegro/subscriptions","organizations_url":"https://api.github.com/users/allegro/orgs","repos_url":"https://api.github.com/users/allegro/repos","events_url":"https://api.github.com/users/allegro/events{/privacy}","received_events_url":"https://api.github.com/users/allegro/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/allegro/axion-release-plugin","description":"Gradle release & version management plugin.","fork":false,"url":"https://api.github.com/repos/allegro/axion-release-plugin","forks_url":"https://api.github.com/repos/allegro/axion-release-plugin/forks","keys_url":"https://api.github.com/repos/allegro/axion-release-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/allegro/axion-release-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/allegro/axion-release-plugin/teams","hooks_url":"https://api.github.com/repos/allegro/axion-release-plugin/hooks","issue_events_url":"https://api.github.com/repos/allegro/axion-release-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/allegro/axion-release-plugin/events","assignees_url":"https://api.github.com/repos/allegro/axion-release-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/allegro/axion-release-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/allegro/axion-release-plugin/tags","blobs_url":"https://api.github.com/repos/allegro/axion-release-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/allegro/axion-release-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/allegro/axion-release-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/allegro/axion-release-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/allegro/axion-release-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/allegro/axion-release-plugin/languages","stargazers_url":"https://api.github.com/repos/allegro/axion-release-plugin/stargazers","contributors_url":"https://api.github.com/repos/allegro/axion-release-plugin/contributors","subscribers_url":"https://api.github.com/repos/allegro/axion-release-plugin/subscribers","subscription_url":"https://api.github.com/repos/allegro/axion-release-plugin/subscription","commits_url":"https://api.github.com/repos/allegro/axion-release-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/allegro/axion-release-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/allegro/axion-release-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/allegro/axion-release-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/allegro/axion-release-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/allegro/axion-release-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/allegro/axion-release-plugin/merges","archive_url":"https://api.github.com/repos/allegro/axion-release-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/allegro/axion-release-plugin/downloads","issues_url":"https://api.github.com/repos/allegro/axion-release-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/allegro/axion-release-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/allegro/axion-release-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/allegro/axion-release-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/allegro/axion-release-plugin/labels{/name}","releases_url":"https://api.github.com/repos/allegro/axion-release-plugin/releases{/id}","created_at":"2014-09-16T09:09:16Z","updated_at":"2015-04-23T19:44:05Z","pushed_at":"2015-05-01T22:39:14Z","git_url":"git://github.com/allegro/axion-release-plugin.git","ssh_url":"git@github.com:allegro/axion-release-plugin.git","clone_url":"https://github.com/allegro/axion-release-plugin.git","svn_url":"https://github.com/allegro/axion-release-plugin","homepage":null,"size":979,"stargazers_count":50,"watchers_count":50,"language":"Groovy","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":13,"forks":12,"open_issues":13,"watchers":50,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/allegro/axion-release-plugin/pulls/73"},"html":{"href":"https://github.com/allegro/axion-release-plugin/pull/73"},"issue":{"href":"https://api.github.com/repos/allegro/axion-release-plugin/issues/73"},"comments":{"href":"https://api.github.com/repos/allegro/axion-release-plugin/issues/73/comments"},"review_comments":{"href":"https://api.github.com/repos/allegro/axion-release-plugin/pulls/73/comments"},"review_comment":{"href":"https://api.github.com/repos/allegro/axion-release-plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/allegro/axion-release-plugin/pulls/73/commits"},"statuses":{"href":"https://api.github.com/repos/allegro/axion-release-plugin/statuses/4405df3a97859f7d80d5e415e2d774af03f84f71"}}}}