{"action":"created","comment":{"url":"https://api.github.com/repos/apache/cordova-coho/pulls/comments/80818236","pull_request_review_id":1846351,"id":80818236,"diff_hunk":"@@ -128,14 +127,32 @@ exports.prepareReleaseBranchCommand = function*() {\n                '\\n' +\n                'Usage: $0 prepare-release-branch --version=3.6.0 -r platform')\n     );\n+   \n     var repos = flagutil.computeReposFromFlag(argv.r);\n-    var version = flagutil.validateVersionString(argv.version);\n-    var branchName = getVersionBranchName(version);\n+    var branchName = null;\n+ \n \n     // First - perform precondition checks.\n     yield repoupdate.updateRepos(repos, [], true);\n \n     yield repoutil.forEachRepo(repos, function*(repo) {\n+       \n+        var version = null;\n+\n+        if (argv.version === undefined) {\n+            // Grabbing version from platformPackageJson","path":"src/platform-release.js","position":38,"original_position":38,"commit_id":"18ed32635478932f5700b6f0ea0850b27dfd1d6b","original_commit_id":"e6c35549ac98d61812020a2d649702dbda520df9","user":{"login":"audreyso","id":22332296,"avatar_url":"https://avatars.githubusercontent.com/u/22332296?v=3","gravatar_id":"","url":"https://api.github.com/users/audreyso","html_url":"https://github.com/audreyso","followers_url":"https://api.github.com/users/audreyso/followers","following_url":"https://api.github.com/users/audreyso/following{/other_user}","gists_url":"https://api.github.com/users/audreyso/gists{/gist_id}","starred_url":"https://api.github.com/users/audreyso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/audreyso/subscriptions","organizations_url":"https://api.github.com/users/audreyso/orgs","repos_url":"https://api.github.com/users/audreyso/repos","events_url":"https://api.github.com/users/audreyso/events{/privacy}","received_events_url":"https://api.github.com/users/audreyso/received_events","type":"User","site_admin":false},"body":"All done!","created_at":"2016-09-27T23:35:05Z","updated_at":"2016-09-27T23:35:05Z","html_url":"https://github.com/apache/cordova-coho/pull/139#discussion_r80818236","pull_request_url":"https://api.github.com/repos/apache/cordova-coho/pulls/139","_links":{"self":{"href":"https://api.github.com/repos/apache/cordova-coho/pulls/comments/80818236"},"html":{"href":"https://github.com/apache/cordova-coho/pull/139#discussion_r80818236"},"pull_request":{"href":"https://api.github.com/repos/apache/cordova-coho/pulls/139"}}},"pull_request":{"url":"https://api.github.com/repos/apache/cordova-coho/pulls/139","id":87023862,"html_url":"https://github.com/apache/cordova-coho/pull/139","diff_url":"https://github.com/apache/cordova-coho/pull/139.diff","patch_url":"https://github.com/apache/cordova-coho/pull/139.patch","issue_url":"https://api.github.com/repos/apache/cordova-coho/issues/139","number":139,"state":"open","locked":false,"title":"CB-11909 changed prepare-release-branch command to grab version from …","user":{"login":"audreyso","id":22332296,"avatar_url":"https://avatars.githubusercontent.com/u/22332296?v=3","gravatar_id":"","url":"https://api.github.com/users/audreyso","html_url":"https://github.com/audreyso","followers_url":"https://api.github.com/users/audreyso/followers","following_url":"https://api.github.com/users/audreyso/following{/other_user}","gists_url":"https://api.github.com/users/audreyso/gists{/gist_id}","starred_url":"https://api.github.com/users/audreyso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/audreyso/subscriptions","organizations_url":"https://api.github.com/users/audreyso/orgs","repos_url":"https://api.github.com/users/audreyso/repos","events_url":"https://api.github.com/users/audreyso/events{/privacy}","received_events_url":"https://api.github.com/users/audreyso/received_events","type":"User","site_admin":false},"body":"CB-11909 changed prepare-release-branch command to grab version from package.json","created_at":"2016-09-27T22:24:34Z","updated_at":"2016-09-27T23:35:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b40a6bdd01f13c25265c63f1394a31f174a37c7a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/apache/cordova-coho/pulls/139/commits","review_comments_url":"https://api.github.com/repos/apache/cordova-coho/pulls/139/comments","review_comment_url":"https://api.github.com/repos/apache/cordova-coho/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/cordova-coho/issues/139/comments","statuses_url":"https://api.github.com/repos/apache/cordova-coho/statuses/18ed32635478932f5700b6f0ea0850b27dfd1d6b","head":{"label":"audreyso:master","ref":"master","sha":"18ed32635478932f5700b6f0ea0850b27dfd1d6b","user":{"login":"audreyso","id":22332296,"avatar_url":"https://avatars.githubusercontent.com/u/22332296?v=3","gravatar_id":"","url":"https://api.github.com/users/audreyso","html_url":"https://github.com/audreyso","followers_url":"https://api.github.com/users/audreyso/followers","following_url":"https://api.github.com/users/audreyso/following{/other_user}","gists_url":"https://api.github.com/users/audreyso/gists{/gist_id}","starred_url":"https://api.github.com/users/audreyso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/audreyso/subscriptions","organizations_url":"https://api.github.com/users/audreyso/orgs","repos_url":"https://api.github.com/users/audreyso/repos","events_url":"https://api.github.com/users/audreyso/events{/privacy}","received_events_url":"https://api.github.com/users/audreyso/received_events","type":"User","site_admin":false},"repo":{"id":69402434,"name":"cordova-coho","full_name":"audreyso/cordova-coho","owner":{"login":"audreyso","id":22332296,"avatar_url":"https://avatars.githubusercontent.com/u/22332296?v=3","gravatar_id":"","url":"https://api.github.com/users/audreyso","html_url":"https://github.com/audreyso","followers_url":"https://api.github.com/users/audreyso/followers","following_url":"https://api.github.com/users/audreyso/following{/other_user}","gists_url":"https://api.github.com/users/audreyso/gists{/gist_id}","starred_url":"https://api.github.com/users/audreyso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/audreyso/subscriptions","organizations_url":"https://api.github.com/users/audreyso/orgs","repos_url":"https://api.github.com/users/audreyso/repos","events_url":"https://api.github.com/users/audreyso/events{/privacy}","received_events_url":"https://api.github.com/users/audreyso/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/audreyso/cordova-coho","description":"Mirror of Apache Cordova coho","fork":true,"url":"https://api.github.com/repos/audreyso/cordova-coho","forks_url":"https://api.github.com/repos/audreyso/cordova-coho/forks","keys_url":"https://api.github.com/repos/audreyso/cordova-coho/keys{/key_id}","collaborators_url":"https://api.github.com/repos/audreyso/cordova-coho/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/audreyso/cordova-coho/teams","hooks_url":"https://api.github.com/repos/audreyso/cordova-coho/hooks","issue_events_url":"https://api.github.com/repos/audreyso/cordova-coho/issues/events{/number}","events_url":"https://api.github.com/repos/audreyso/cordova-coho/events","assignees_url":"https://api.github.com/repos/audreyso/cordova-coho/assignees{/user}","branches_url":"https://api.github.com/repos/audreyso/cordova-coho/branches{/branch}","tags_url":"https://api.github.com/repos/audreyso/cordova-coho/tags","blobs_url":"https://api.github.com/repos/audreyso/cordova-coho/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/audreyso/cordova-coho/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/audreyso/cordova-coho/git/refs{/sha}","trees_url":"https://api.github.com/repos/audreyso/cordova-coho/git/trees{/sha}","statuses_url":"https://api.github.com/repos/audreyso/cordova-coho/statuses/{sha}","languages_url":"https://api.github.com/repos/audreyso/cordova-coho/languages","stargazers_url":"https://api.github.com/repos/audreyso/cordova-coho/stargazers","contributors_url":"https://api.github.com/repos/audreyso/cordova-coho/contributors","subscribers_url":"https://api.github.com/repos/audreyso/cordova-coho/subscribers","subscription_url":"https://api.github.com/repos/audreyso/cordova-coho/subscription","commits_url":"https://api.github.com/repos/audreyso/cordova-coho/commits{/sha}","git_commits_url":"https://api.github.com/repos/audreyso/cordova-coho/git/commits{/sha}","comments_url":"https://api.github.com/repos/audreyso/cordova-coho/comments{/number}","issue_comment_url":"https://api.github.com/repos/audreyso/cordova-coho/issues/comments{/number}","contents_url":"https://api.github.com/repos/audreyso/cordova-coho/contents/{+path}","compare_url":"https://api.github.com/repos/audreyso/cordova-coho/compare/{base}...{head}","merges_url":"https://api.github.com/repos/audreyso/cordova-coho/merges","archive_url":"https://api.github.com/repos/audreyso/cordova-coho/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/audreyso/cordova-coho/downloads","issues_url":"https://api.github.com/repos/audreyso/cordova-coho/issues{/number}","pulls_url":"https://api.github.com/repos/audreyso/cordova-coho/pulls{/number}","milestones_url":"https://api.github.com/repos/audreyso/cordova-coho/milestones{/number}","notifications_url":"https://api.github.com/repos/audreyso/cordova-coho/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/audreyso/cordova-coho/labels{/name}","releases_url":"https://api.github.com/repos/audreyso/cordova-coho/releases{/id}","deployments_url":"https://api.github.com/repos/audreyso/cordova-coho/deployments","created_at":"2016-09-27T22:02:31Z","updated_at":"2016-09-27T22:02:32Z","pushed_at":"2016-09-27T23:34:31Z","git_url":"git://github.com/audreyso/cordova-coho.git","ssh_url":"git@github.com:audreyso/cordova-coho.git","clone_url":"https://github.com/audreyso/cordova-coho.git","svn_url":"https://github.com/audreyso/cordova-coho","homepage":null,"size":1517,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"apache:master","ref":"master","sha":"3feac1714e5675f839a9875b6d98246dc41e4cc1","user":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":6898375,"name":"cordova-coho","full_name":"apache/cordova-coho","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/cordova-coho","description":"Mirror of Apache Cordova coho","fork":false,"url":"https://api.github.com/repos/apache/cordova-coho","forks_url":"https://api.github.com/repos/apache/cordova-coho/forks","keys_url":"https://api.github.com/repos/apache/cordova-coho/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/cordova-coho/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/cordova-coho/teams","hooks_url":"https://api.github.com/repos/apache/cordova-coho/hooks","issue_events_url":"https://api.github.com/repos/apache/cordova-coho/issues/events{/number}","events_url":"https://api.github.com/repos/apache/cordova-coho/events","assignees_url":"https://api.github.com/repos/apache/cordova-coho/assignees{/user}","branches_url":"https://api.github.com/repos/apache/cordova-coho/branches{/branch}","tags_url":"https://api.github.com/repos/apache/cordova-coho/tags","blobs_url":"https://api.github.com/repos/apache/cordova-coho/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/cordova-coho/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/cordova-coho/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/cordova-coho/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/cordova-coho/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/cordova-coho/languages","stargazers_url":"https://api.github.com/repos/apache/cordova-coho/stargazers","contributors_url":"https://api.github.com/repos/apache/cordova-coho/contributors","subscribers_url":"https://api.github.com/repos/apache/cordova-coho/subscribers","subscription_url":"https://api.github.com/repos/apache/cordova-coho/subscription","commits_url":"https://api.github.com/repos/apache/cordova-coho/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/cordova-coho/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/cordova-coho/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/cordova-coho/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/cordova-coho/contents/{+path}","compare_url":"https://api.github.com/repos/apache/cordova-coho/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/cordova-coho/merges","archive_url":"https://api.github.com/repos/apache/cordova-coho/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/cordova-coho/downloads","issues_url":"https://api.github.com/repos/apache/cordova-coho/issues{/number}","pulls_url":"https://api.github.com/repos/apache/cordova-coho/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/cordova-coho/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/cordova-coho/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/cordova-coho/labels{/name}","releases_url":"https://api.github.com/repos/apache/cordova-coho/releases{/id}","deployments_url":"https://api.github.com/repos/apache/cordova-coho/deployments","created_at":"2012-11-28T08:00:17Z","updated_at":"2016-06-03T17:46:48Z","pushed_at":"2016-09-27T23:34:31Z","git_url":"git://github.com/apache/cordova-coho.git","ssh_url":"git@github.com:apache/cordova-coho.git","clone_url":"https://github.com/apache/cordova-coho.git","svn_url":"https://github.com/apache/cordova-coho","homepage":null,"size":1587,"stargazers_count":21,"watchers_count":21,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":45,"mirror_url":"git://git.apache.org/cordova-coho.git","open_issues_count":5,"forks":45,"open_issues":5,"watchers":21,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/cordova-coho/pulls/139"},"html":{"href":"https://github.com/apache/cordova-coho/pull/139"},"issue":{"href":"https://api.github.com/repos/apache/cordova-coho/issues/139"},"comments":{"href":"https://api.github.com/repos/apache/cordova-coho/issues/139/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/cordova-coho/pulls/139/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/cordova-coho/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/cordova-coho/pulls/139/commits"},"statuses":{"href":"https://api.github.com/repos/apache/cordova-coho/statuses/18ed32635478932f5700b6f0ea0850b27dfd1d6b"}}}}
{"actor":{"display_login":"audreyso"}}