{"action":"created","comment":{"url":"https://api.github.com/repos/novoda/bintray-release/pulls/comments/27899312","id":27899312,"diff_hunk":"@@ -43,8 +42,12 @@ class ReleasePlugin implements Plugin<Project> {\n         }\n     }\n \n-    private String getString(Project project, String propertyName, String defaultValue) {\n-        project.hasProperty(propertyName) ? project.getProperty(propertyName) : defaultValue\n+    private String getProjectProperty(Project project, String propertyName, String defaultValue) {\n+        if (project.hasProperty(propertyName) && project.getProperty(propertyName) != 'unspecified') {","path":"core/src/main/groovy/com/novoda/gradle/release/ReleasePlugin.groovy","position":22,"original_position":22,"commit_id":"288f147c8885660b622e04b624affb9faedb2e5d","original_commit_id":"288f147c8885660b622e04b624affb9faedb2e5d","user":{"login":"stefanhoth","id":45467,"avatar_url":"https://avatars.githubusercontent.com/u/45467?v=3","gravatar_id":"","url":"https://api.github.com/users/stefanhoth","html_url":"https://github.com/stefanhoth","followers_url":"https://api.github.com/users/stefanhoth/followers","following_url":"https://api.github.com/users/stefanhoth/following{/other_user}","gists_url":"https://api.github.com/users/stefanhoth/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanhoth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanhoth/subscriptions","organizations_url":"https://api.github.com/users/stefanhoth/orgs","repos_url":"https://api.github.com/users/stefanhoth/repos","events_url":"https://api.github.com/users/stefanhoth/events{/privacy}","received_events_url":"https://api.github.com/users/stefanhoth/received_events","type":"User","site_admin":false},"body":":+1: ","created_at":"2015-04-07T17:20:48Z","updated_at":"2015-04-07T17:20:48Z","html_url":"https://github.com/novoda/bintray-release/pull/29#discussion_r27899312","pull_request_url":"https://api.github.com/repos/novoda/bintray-release/pulls/29","_links":{"self":{"href":"https://api.github.com/repos/novoda/bintray-release/pulls/comments/27899312"},"html":{"href":"https://github.com/novoda/bintray-release/pull/29#discussion_r27899312"},"pull_request":{"href":"https://api.github.com/repos/novoda/bintray-release/pulls/29"}}},"pull_request":{"url":"https://api.github.com/repos/novoda/bintray-release/pulls/29","id":32530980,"html_url":"https://github.com/novoda/bintray-release/pull/29","diff_url":"https://github.com/novoda/bintray-release/pull/29.diff","patch_url":"https://github.com/novoda/bintray-release/pull/29.patch","issue_url":"https://api.github.com/repos/novoda/bintray-release/issues/29","number":29,"state":"open","locked":false,"title":"27/Re-add support for publish.version ","user":{"login":"friedger","id":1449049,"avatar_url":"https://avatars.githubusercontent.com/u/1449049?v=3","gravatar_id":"","url":"https://api.github.com/users/friedger","html_url":"https://github.com/friedger","followers_url":"https://api.github.com/users/friedger/followers","following_url":"https://api.github.com/users/friedger/following{/other_user}","gists_url":"https://api.github.com/users/friedger/gists{/gist_id}","starred_url":"https://api.github.com/users/friedger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/friedger/subscriptions","organizations_url":"https://api.github.com/users/friedger/orgs","repos_url":"https://api.github.com/users/friedger/repos","events_url":"https://api.github.com/users/friedger/events{/privacy}","received_events_url":"https://api.github.com/users/friedger/received_events","type":"User","site_admin":false},"body":"**Problem**\r\nRelease 2.8 added support for project property \"version\". If this property was not set version \"unspecified\" was used instead of publish.version.\r\n\r\n**Solution**\r\nCheck for \"unspecified\" when retrieving the property\r\n\r\n**local maven for bintray-release**\r\n![screen shot 2015-04-02 at 13 37 59](https://cloud.githubusercontent.com/assets/1449049/6963283/8a386332-d93d-11e4-9006-f0d8f548a01b.png)","created_at":"2015-04-02T17:12:05Z","updated_at":"2015-04-07T17:20:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a6e23b7d1ab4d2b7af921d6f2f89b47cfb5f26f1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/novoda/bintray-release/pulls/29/commits","review_comments_url":"https://api.github.com/repos/novoda/bintray-release/pulls/29/comments","review_comment_url":"https://api.github.com/repos/novoda/bintray-release/pulls/comments{/number}","comments_url":"https://api.github.com/repos/novoda/bintray-release/issues/29/comments","statuses_url":"https://api.github.com/repos/novoda/bintray-release/statuses/288f147c8885660b622e04b624affb9faedb2e5d","head":{"label":"novoda:27/handle_version_2","ref":"27/handle_version_2","sha":"288f147c8885660b622e04b624affb9faedb2e5d","user":{"login":"novoda","id":74874,"avatar_url":"https://avatars.githubusercontent.com/u/74874?v=3","gravatar_id":"","url":"https://api.github.com/users/novoda","html_url":"https://github.com/novoda","followers_url":"https://api.github.com/users/novoda/followers","following_url":"https://api.github.com/users/novoda/following{/other_user}","gists_url":"https://api.github.com/users/novoda/gists{/gist_id}","starred_url":"https://api.github.com/users/novoda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/novoda/subscriptions","organizations_url":"https://api.github.com/users/novoda/orgs","repos_url":"https://api.github.com/users/novoda/repos","events_url":"https://api.github.com/users/novoda/events{/privacy}","received_events_url":"https://api.github.com/users/novoda/received_events","type":"Organization","site_admin":false},"repo":{"id":25312557,"name":"bintray-release","full_name":"novoda/bintray-release","owner":{"login":"novoda","id":74874,"avatar_url":"https://avatars.githubusercontent.com/u/74874?v=3","gravatar_id":"","url":"https://api.github.com/users/novoda","html_url":"https://github.com/novoda","followers_url":"https://api.github.com/users/novoda/followers","following_url":"https://api.github.com/users/novoda/following{/other_user}","gists_url":"https://api.github.com/users/novoda/gists{/gist_id}","starred_url":"https://api.github.com/users/novoda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/novoda/subscriptions","organizations_url":"https://api.github.com/users/novoda/orgs","repos_url":"https://api.github.com/users/novoda/repos","events_url":"https://api.github.com/users/novoda/events{/privacy}","received_events_url":"https://api.github.com/users/novoda/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/novoda/bintray-release","description":"A helper for releasing from gradle up to bintray","fork":false,"url":"https://api.github.com/repos/novoda/bintray-release","forks_url":"https://api.github.com/repos/novoda/bintray-release/forks","keys_url":"https://api.github.com/repos/novoda/bintray-release/keys{/key_id}","collaborators_url":"https://api.github.com/repos/novoda/bintray-release/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/novoda/bintray-release/teams","hooks_url":"https://api.github.com/repos/novoda/bintray-release/hooks","issue_events_url":"https://api.github.com/repos/novoda/bintray-release/issues/events{/number}","events_url":"https://api.github.com/repos/novoda/bintray-release/events","assignees_url":"https://api.github.com/repos/novoda/bintray-release/assignees{/user}","branches_url":"https://api.github.com/repos/novoda/bintray-release/branches{/branch}","tags_url":"https://api.github.com/repos/novoda/bintray-release/tags","blobs_url":"https://api.github.com/repos/novoda/bintray-release/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/novoda/bintray-release/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/novoda/bintray-release/git/refs{/sha}","trees_url":"https://api.github.com/repos/novoda/bintray-release/git/trees{/sha}","statuses_url":"https://api.github.com/repos/novoda/bintray-release/statuses/{sha}","languages_url":"https://api.github.com/repos/novoda/bintray-release/languages","stargazers_url":"https://api.github.com/repos/novoda/bintray-release/stargazers","contributors_url":"https://api.github.com/repos/novoda/bintray-release/contributors","subscribers_url":"https://api.github.com/repos/novoda/bintray-release/subscribers","subscription_url":"https://api.github.com/repos/novoda/bintray-release/subscription","commits_url":"https://api.github.com/repos/novoda/bintray-release/commits{/sha}","git_commits_url":"https://api.github.com/repos/novoda/bintray-release/git/commits{/sha}","comments_url":"https://api.github.com/repos/novoda/bintray-release/comments{/number}","issue_comment_url":"https://api.github.com/repos/novoda/bintray-release/issues/comments{/number}","contents_url":"https://api.github.com/repos/novoda/bintray-release/contents/{+path}","compare_url":"https://api.github.com/repos/novoda/bintray-release/compare/{base}...{head}","merges_url":"https://api.github.com/repos/novoda/bintray-release/merges","archive_url":"https://api.github.com/repos/novoda/bintray-release/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/novoda/bintray-release/downloads","issues_url":"https://api.github.com/repos/novoda/bintray-release/issues{/number}","pulls_url":"https://api.github.com/repos/novoda/bintray-release/pulls{/number}","milestones_url":"https://api.github.com/repos/novoda/bintray-release/milestones{/number}","notifications_url":"https://api.github.com/repos/novoda/bintray-release/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/novoda/bintray-release/labels{/name}","releases_url":"https://api.github.com/repos/novoda/bintray-release/releases{/id}","created_at":"2014-10-16T17:04:56Z","updated_at":"2015-04-07T09:21:40Z","pushed_at":"2015-04-07T09:21:40Z","git_url":"git://github.com/novoda/bintray-release.git","ssh_url":"git@github.com:novoda/bintray-release.git","clone_url":"https://github.com/novoda/bintray-release.git","svn_url":"https://github.com/novoda/bintray-release","homepage":"","size":711,"stargazers_count":41,"watchers_count":41,"language":"Groovy","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":12,"forks":2,"open_issues":12,"watchers":41,"default_branch":"master"}},"base":{"label":"novoda:master","ref":"master","sha":"0e65f739c293d1d0d0af22eefe2091ec65b06a35","user":{"login":"novoda","id":74874,"avatar_url":"https://avatars.githubusercontent.com/u/74874?v=3","gravatar_id":"","url":"https://api.github.com/users/novoda","html_url":"https://github.com/novoda","followers_url":"https://api.github.com/users/novoda/followers","following_url":"https://api.github.com/users/novoda/following{/other_user}","gists_url":"https://api.github.com/users/novoda/gists{/gist_id}","starred_url":"https://api.github.com/users/novoda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/novoda/subscriptions","organizations_url":"https://api.github.com/users/novoda/orgs","repos_url":"https://api.github.com/users/novoda/repos","events_url":"https://api.github.com/users/novoda/events{/privacy}","received_events_url":"https://api.github.com/users/novoda/received_events","type":"Organization","site_admin":false},"repo":{"id":25312557,"name":"bintray-release","full_name":"novoda/bintray-release","owner":{"login":"novoda","id":74874,"avatar_url":"https://avatars.githubusercontent.com/u/74874?v=3","gravatar_id":"","url":"https://api.github.com/users/novoda","html_url":"https://github.com/novoda","followers_url":"https://api.github.com/users/novoda/followers","following_url":"https://api.github.com/users/novoda/following{/other_user}","gists_url":"https://api.github.com/users/novoda/gists{/gist_id}","starred_url":"https://api.github.com/users/novoda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/novoda/subscriptions","organizations_url":"https://api.github.com/users/novoda/orgs","repos_url":"https://api.github.com/users/novoda/repos","events_url":"https://api.github.com/users/novoda/events{/privacy}","received_events_url":"https://api.github.com/users/novoda/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/novoda/bintray-release","description":"A helper for releasing from gradle up to bintray","fork":false,"url":"https://api.github.com/repos/novoda/bintray-release","forks_url":"https://api.github.com/repos/novoda/bintray-release/forks","keys_url":"https://api.github.com/repos/novoda/bintray-release/keys{/key_id}","collaborators_url":"https://api.github.com/repos/novoda/bintray-release/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/novoda/bintray-release/teams","hooks_url":"https://api.github.com/repos/novoda/bintray-release/hooks","issue_events_url":"https://api.github.com/repos/novoda/bintray-release/issues/events{/number}","events_url":"https://api.github.com/repos/novoda/bintray-release/events","assignees_url":"https://api.github.com/repos/novoda/bintray-release/assignees{/user}","branches_url":"https://api.github.com/repos/novoda/bintray-release/branches{/branch}","tags_url":"https://api.github.com/repos/novoda/bintray-release/tags","blobs_url":"https://api.github.com/repos/novoda/bintray-release/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/novoda/bintray-release/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/novoda/bintray-release/git/refs{/sha}","trees_url":"https://api.github.com/repos/novoda/bintray-release/git/trees{/sha}","statuses_url":"https://api.github.com/repos/novoda/bintray-release/statuses/{sha}","languages_url":"https://api.github.com/repos/novoda/bintray-release/languages","stargazers_url":"https://api.github.com/repos/novoda/bintray-release/stargazers","contributors_url":"https://api.github.com/repos/novoda/bintray-release/contributors","subscribers_url":"https://api.github.com/repos/novoda/bintray-release/subscribers","subscription_url":"https://api.github.com/repos/novoda/bintray-release/subscription","commits_url":"https://api.github.com/repos/novoda/bintray-release/commits{/sha}","git_commits_url":"https://api.github.com/repos/novoda/bintray-release/git/commits{/sha}","comments_url":"https://api.github.com/repos/novoda/bintray-release/comments{/number}","issue_comment_url":"https://api.github.com/repos/novoda/bintray-release/issues/comments{/number}","contents_url":"https://api.github.com/repos/novoda/bintray-release/contents/{+path}","compare_url":"https://api.github.com/repos/novoda/bintray-release/compare/{base}...{head}","merges_url":"https://api.github.com/repos/novoda/bintray-release/merges","archive_url":"https://api.github.com/repos/novoda/bintray-release/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/novoda/bintray-release/downloads","issues_url":"https://api.github.com/repos/novoda/bintray-release/issues{/number}","pulls_url":"https://api.github.com/repos/novoda/bintray-release/pulls{/number}","milestones_url":"https://api.github.com/repos/novoda/bintray-release/milestones{/number}","notifications_url":"https://api.github.com/repos/novoda/bintray-release/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/novoda/bintray-release/labels{/name}","releases_url":"https://api.github.com/repos/novoda/bintray-release/releases{/id}","created_at":"2014-10-16T17:04:56Z","updated_at":"2015-04-07T09:21:40Z","pushed_at":"2015-04-07T09:21:40Z","git_url":"git://github.com/novoda/bintray-release.git","ssh_url":"git@github.com:novoda/bintray-release.git","clone_url":"https://github.com/novoda/bintray-release.git","svn_url":"https://github.com/novoda/bintray-release","homepage":"","size":711,"stargazers_count":41,"watchers_count":41,"language":"Groovy","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":12,"forks":2,"open_issues":12,"watchers":41,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/novoda/bintray-release/pulls/29"},"html":{"href":"https://github.com/novoda/bintray-release/pull/29"},"issue":{"href":"https://api.github.com/repos/novoda/bintray-release/issues/29"},"comments":{"href":"https://api.github.com/repos/novoda/bintray-release/issues/29/comments"},"review_comments":{"href":"https://api.github.com/repos/novoda/bintray-release/pulls/29/comments"},"review_comment":{"href":"https://api.github.com/repos/novoda/bintray-release/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/novoda/bintray-release/pulls/29/commits"},"statuses":{"href":"https://api.github.com/repos/novoda/bintray-release/statuses/288f147c8885660b622e04b624affb9faedb2e5d"}}}}