GitHub PullRequestReviewCommentEvent at 2014-06-23 17:51:04
Repository: hubot
Actor: technicalpickles
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/github/hubot/pulls/comments/14089203","id":14089203,"diff_hunk":"@@ -0,0 +1,37 @@\n+#!/bin/sh\n+# Tag and push a release.\n+\n+set -e\n+\n+# Make sure we're in the project root.\n+\n+cd $(dirname \"$0\")/..\n+\n+# Make sure the darn thing works\n+\n+npm update && script/smoke-test\n+\n+# Make sure we're on the master branch.\n+\n+(git branch | grep -q '* master') || {\n+  echo \"Only release from the master branch.\"\n+  exit 1\n+}\n+\n+# Figure out what version we're releasing.\n+\n+tag=v`node -e 'console.log(require(\"./package.json\").version)'`\n+\n+# Make sure we haven't released this version before.\n+\n+git fetch -t origin\n+\n+(git tag -l | grep -q \"$tag\") && {\n+  echo \"Whoops, there's already a '${tag}' tag.\"\n+  exit 1\n+}\n+\n+# Tag it and bag it.\n+\n+npm publish && git tag \"$tag\" &&\n+  git push origin master && git push origin \"$tag\"","path":"script/release","position":37,"original_position":37,"commit_id":"fa0908a9f4a3fd62968d3276cd9c143327cbc23d","original_commit_id":"fa0908a9f4a3fd62968d3276cd9c143327cbc23d","user":{"login":"technicalpickles","id":159,"avatar_url":"https://avatars.githubusercontent.com/u/159?","gravatar_id":"1c1aabc1abed5cce37b192dd00f0f28c","url":"https://api.github.com/users/technicalpickles","html_url":"https://github.com/technicalpickles","followers_url":"https://api.github.com/users/technicalpickles/followers","following_url":"https://api.github.com/users/technicalpickles/following{/other_user}","gists_url":"https://api.github.com/users/technicalpickles/gists{/gist_id}","starred_url":"https://api.github.com/users/technicalpickles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/technicalpickles/subscriptions","organizations_url":"https://api.github.com/users/technicalpickles/orgs","repos_url":"https://api.github.com/users/technicalpickles/repos","events_url":"https://api.github.com/users/technicalpickles/events{/privacy}","received_events_url":"https://api.github.com/users/technicalpickles/received_events","type":"User","site_admin":true},"body":"This could be one `git push` call if you add `--tags` to the first call","created_at":"2014-06-23T17:51:04Z","updated_at":"2014-06-23T17:51:04Z","html_url":"https://github.com/github/hubot/pull/720#discussion_r14089203","pull_request_url":"https://api.github.com/repos/github/hubot/pulls/720","_links":{"self":{"href":"https://api.github.com/repos/github/hubot/pulls/comments/14089203"},"html":{"href":"https://github.com/github/hubot/pull/720#discussion_r14089203"},"pull_request":{"href":"https://api.github.com/repos/github/hubot/pulls/720"}}},"pull_request":{"url":"https://api.github.com/repos/github/hubot/pulls/720","id":17364970,"html_url":"https://github.com/github/hubot/pull/720","diff_url":"https://github.com/github/hubot/pull/720.diff","patch_url":"https://github.com/github/hubot/pull/720.patch","issue_url":"https://api.github.com/repos/github/hubot/issues/720","number":720,"state":"open","title":"WIP: Add scripts for performing common tasks","user":{"login":"parkr","id":237985,"avatar_url":"https://avatars.githubusercontent.com/u/237985?","gravatar_id":"3b05198379f4b275d304fd27e6cb09ae","url":"https://api.github.com/users/parkr","html_url":"https://github.com/parkr","followers_url":"https://api.github.com/users/parkr/followers","following_url":"https://api.github.com/users/parkr/following{/other_user}","gists_url":"https://api.github.com/users/parkr/gists{/gist_id}","starred_url":"https://api.github.com/users/parkr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parkr/subscriptions","organizations_url":"https://api.github.com/users/parkr/orgs","repos_url":"https://api.github.com/users/parkr/repos","events_url":"https://api.github.com/users/parkr/events{/privacy}","received_events_url":"https://api.github.com/users/parkr/received_events","type":"User","site_admin":false},"body":"Fixes #719.","created_at":"2014-06-19T17:40:46Z","updated_at":"2014-06-23T17:51:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b4cf411e91a24b6d15614704507871b9ee1f3ef9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/github/hubot/pulls/720/commits","review_comments_url":"https://api.github.com/repos/github/hubot/pulls/720/comments","review_comment_url":"https://api.github.com/repos/github/hubot/pulls/comments/{number}","comments_url":"https://api.github.com/repos/github/hubot/issues/720/comments","statuses_url":"https://api.github.com/repos/github/hubot/statuses/fa0908a9f4a3fd62968d3276cd9c143327cbc23d","head":{"label":"parkr:githubbify","ref":"githubbify","sha":"fa0908a9f4a3fd62968d3276cd9c143327cbc23d","user":{"login":"parkr","id":237985,"avatar_url":"https://avatars.githubusercontent.com/u/237985?","gravatar_id":"3b05198379f4b275d304fd27e6cb09ae","url":"https://api.github.com/users/parkr","html_url":"https://github.com/parkr","followers_url":"https://api.github.com/users/parkr/followers","following_url":"https://api.github.com/users/parkr/following{/other_user}","gists_url":"https://api.github.com/users/parkr/gists{/gist_id}","starred_url":"https://api.github.com/users/parkr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parkr/subscriptions","organizations_url":"https://api.github.com/users/parkr/orgs","repos_url":"https://api.github.com/users/parkr/repos","events_url":"https://api.github.com/users/parkr/events{/privacy}","received_events_url":"https://api.github.com/users/parkr/received_events","type":"User","site_admin":false},"repo":{"id":6991694,"name":"hubot","full_name":"parkr/hubot","owner":{"login":"parkr","id":237985,"avatar_url":"https://avatars.githubusercontent.com/u/237985?","gravatar_id":"3b05198379f4b275d304fd27e6cb09ae","url":"https://api.github.com/users/parkr","html_url":"https://github.com/parkr","followers_url":"https://api.github.com/users/parkr/followers","following_url":"https://api.github.com/users/parkr/following{/other_user}","gists_url":"https://api.github.com/users/parkr/gists{/gist_id}","starred_url":"https://api.github.com/users/parkr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parkr/subscriptions","organizations_url":"https://api.github.com/users/parkr/orgs","repos_url":"https://api.github.com/users/parkr/repos","events_url":"https://api.github.com/users/parkr/events{/privacy}","received_events_url":"https://api.github.com/users/parkr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/parkr/hubot","description":"A customizable, kegerator-powered life embetterment robot.","fork":true,"url":"https://api.github.com/repos/parkr/hubot","forks_url":"https://api.github.com/repos/parkr/hubot/forks","keys_url":"https://api.github.com/repos/parkr/hubot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/parkr/hubot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/parkr/hubot/teams","hooks_url":"https://api.github.com/repos/parkr/hubot/hooks","issue_events_url":"https://api.github.com/repos/parkr/hubot/issues/events{/number}","events_url":"https://api.github.com/repos/parkr/hubot/events","assignees_url":"https://api.github.com/repos/parkr/hubot/assignees{/user}","branches_url":"https://api.github.com/repos/parkr/hubot/branches{/branch}","tags_url":"https://api.github.com/repos/parkr/hubot/tags","blobs_url":"https://api.github.com/repos/parkr/hubot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/parkr/hubot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/parkr/hubot/git/refs{/sha}","trees_url":"https://api.github.com/repos/parkr/hubot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/parkr/hubot/statuses/{sha}","languages_url":"https://api.github.com/repos/parkr/hubot/languages","stargazers_url":"https://api.github.com/repos/parkr/hubot/stargazers","contributors_url":"https://api.github.com/repos/parkr/hubot/contributors","subscribers_url":"https://api.github.com/repos/parkr/hubot/subscribers","subscription_url":"https://api.github.com/repos/parkr/hubot/subscription","commits_url":"https://api.github.com/repos/parkr/hubot/commits{/sha}","git_commits_url":"https://api.github.com/repos/parkr/hubot/git/commits{/sha}","comments_url":"https://api.github.com/repos/parkr/hubot/comments{/number}","issue_comment_url":"https://api.github.com/repos/parkr/hubot/issues/comments/{number}","contents_url":"https://api.github.com/repos/parkr/hubot/contents/{+path}","compare_url":"https://api.github.com/repos/parkr/hubot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/parkr/hubot/merges","archive_url":"https://api.github.com/repos/parkr/hubot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/parkr/hubot/downloads","issues_url":"https://api.github.com/repos/parkr/hubot/issues{/number}","pulls_url":"https://api.github.com/repos/parkr/hubot/pulls{/number}","milestones_url":"https://api.github.com/repos/parkr/hubot/milestones{/number}","notifications_url":"https://api.github.com/repos/parkr/hubot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/parkr/hubot/labels{/name}","releases_url":"https://api.github.com/repos/parkr/hubot/releases{/id}","created_at":"2012-12-03T23:56:41Z","updated_at":"2014-06-19T17:45:24Z","pushed_at":"2014-06-19T17:45:23Z","git_url":"git://github.com/parkr/hubot.git","ssh_url":"git@github.com:parkr/hubot.git","clone_url":"https://github.com/parkr/hubot.git","svn_url":"https://github.com/parkr/hubot","homepage":"http://hubot.github.com","size":1499,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"github:master","ref":"master","sha":"39681ea35de6375154748418e11f533ef51c3340","user":{"login":"github","id":9919,"avatar_url":"https://avatars.githubusercontent.com/u/9919?","gravatar_id":"61024896f291303615bcd4f7a0dcfb74","url":"https://api.github.com/users/github","html_url":"https://github.com/github","followers_url":"https://api.github.com/users/github/followers","following_url":"https://api.github.com/users/github/following{/other_user}","gists_url":"https://api.github.com/users/github/gists{/gist_id}","starred_url":"https://api.github.com/users/github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github/subscriptions","organizations_url":"https://api.github.com/users/github/orgs","repos_url":"https://api.github.com/users/github/repos","events_url":"https://api.github.com/users/github/events{/privacy}","received_events_url":"https://api.github.com/users/github/received_events","type":"Organization","site_admin":false},"repo":{"id":2278524,"name":"hubot","full_name":"github/hubot","owner":{"login":"github","id":9919,"avatar_url":"https://avatars.githubusercontent.com/u/9919?","gravatar_id":"61024896f291303615bcd4f7a0dcfb74","url":"https://api.github.com/users/github","html_url":"https://github.com/github","followers_url":"https://api.github.com/users/github/followers","following_url":"https://api.github.com/users/github/following{/other_user}","gists_url":"https://api.github.com/users/github/gists{/gist_id}","starred_url":"https://api.github.com/users/github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github/subscriptions","organizations_url":"https://api.github.com/users/github/orgs","repos_url":"https://api.github.com/users/github/repos","events_url":"https://api.github.com/users/github/events{/privacy}","received_events_url":"https://api.github.com/users/github/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/github/hubot","description":"A customizable, kegerator-powered life embetterment robot.","fork":false,"url":"https://api.github.com/repos/github/hubot","forks_url":"https://api.github.com/repos/github/hubot/forks","keys_url":"https://api.github.com/repos/github/hubot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github/hubot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github/hubot/teams","hooks_url":"https://api.github.com/repos/github/hubot/hooks","issue_events_url":"https://api.github.com/repos/github/hubot/issues/events{/number}","events_url":"https://api.github.com/repos/github/hubot/events","assignees_url":"https://api.github.com/repos/github/hubot/assignees{/user}","branches_url":"https://api.github.com/repos/github/hubot/branches{/branch}","tags_url":"https://api.github.com/repos/github/hubot/tags","blobs_url":"https://api.github.com/repos/github/hubot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github/hubot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github/hubot/git/refs{/sha}","trees_url":"https://api.github.com/repos/github/hubot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github/hubot/statuses/{sha}","languages_url":"https://api.github.com/repos/github/hubot/languages","stargazers_url":"https://api.github.com/repos/github/hubot/stargazers","contributors_url":"https://api.github.com/repos/github/hubot/contributors","subscribers_url":"https://api.github.com/repos/github/hubot/subscribers","subscription_url":"https://api.github.com/repos/github/hubot/subscription","commits_url":"https://api.github.com/repos/github/hubot/commits{/sha}","git_commits_url":"https://api.github.com/repos/github/hubot/git/commits{/sha}","comments_url":"https://api.github.com/repos/github/hubot/comments{/number}","issue_comment_url":"https://api.github.com/repos/github/hubot/issues/comments/{number}","contents_url":"https://api.github.com/repos/github/hubot/contents/{+path}","compare_url":"https://api.github.com/repos/github/hubot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github/hubot/merges","archive_url":"https://api.github.com/repos/github/hubot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github/hubot/downloads","issues_url":"https://api.github.com/repos/github/hubot/issues{/number}","pulls_url":"https://api.github.com/repos/github/hubot/pulls{/number}","milestones_url":"https://api.github.com/repos/github/hubot/milestones{/number}","notifications_url":"https://api.github.com/repos/github/hubot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github/hubot/labels{/name}","releases_url":"https://api.github.com/repos/github/hubot/releases{/id}","created_at":"2011-08-27T08:30:59Z","updated_at":"2014-06-23T17:21:33Z","pushed_at":"2014-06-19T17:22:23Z","git_url":"git://github.com/github/hubot.git","ssh_url":"git@github.com:github/hubot.git","clone_url":"https://github.com/github/hubot.git","svn_url":"https://github.com/github/hubot","homepage":"http://hubot.github.com","size":8457,"stargazers_count":5988,"watchers_count":5988,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":1332,"mirror_url":null,"open_issues_count":52,"forks":1332,"open_issues":52,"watchers":5988,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/github/hubot/pulls/720"},"html":{"href":"https://github.com/github/hubot/pull/720"},"issue":{"href":"https://api.github.com/repos/github/hubot/issues/720"},"comments":{"href":"https://api.github.com/repos/github/hubot/issues/720/comments"},"review_comments":{"href":"https://api.github.com/repos/github/hubot/pulls/720/comments"},"review_comment":{"href":"https://api.github.com/repos/github/hubot/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/github/hubot/pulls/720/commits"},"statuses":{"href":"https://api.github.com/repos/github/hubot/statuses/fa0908a9f4a3fd62968d3276cd9c143327cbc23d"}}}}