{"action":"created","comment":{"url":"https://api.github.com/repos/cake-build/cake/pulls/comments/46072016","id":46072016,"diff_hunk":"@@ -311,6 +311,24 @@ Task(\"Publish-Chocolatey\")\n     }\n });\n \n+Task(\"Create-Release-Notes\")\n+  .Does(() =>\n+{\n+    var userName = EnvironmentVariable(\"CAKE_GITHUB_USERNAME\");\n+    var password = EnvironmentVariable(\"CAKE_GITHUB_PASSWORD\");\n+    var owner = EnvironmentVariable(\"CAKE_GITHUB_OWNER\");\n+    var repo = EnvironmentVariable(\"CAKE_GITHUB_REPO\");\n+    var targetBranch = EnvironmentVariable(\"CAKE_TARGET_BRANCH\");","path":"build.cake","position":null,"original_position":11,"commit_id":"5bac6ee95f702b2227ebef413ce618303e8b5add","original_commit_id":"4ea316d4fbe4b0342d54112782e633486bb7fba6","user":{"login":"gep13","id":1271146,"avatar_url":"https://avatars.githubusercontent.com/u/1271146?v=3","gravatar_id":"","url":"https://api.github.com/users/gep13","html_url":"https://github.com/gep13","followers_url":"https://api.github.com/users/gep13/followers","following_url":"https://api.github.com/users/gep13/following{/other_user}","gists_url":"https://api.github.com/users/gep13/gists{/gist_id}","starred_url":"https://api.github.com/users/gep13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gep13/subscriptions","organizations_url":"https://api.github.com/users/gep13/orgs","repos_url":"https://api.github.com/users/gep13/repos","events_url":"https://api.github.com/users/gep13/events{/privacy}","received_events_url":"https://api.github.com/users/gep13/received_events","type":"User","site_admin":false},"body":"@patriksvensson fixed up.","created_at":"2015-11-27T22:31:54Z","updated_at":"2015-11-27T22:31:54Z","html_url":"https://github.com/cake-build/cake/pull/539#discussion_r46072016","pull_request_url":"https://api.github.com/repos/cake-build/cake/pulls/539","_links":{"self":{"href":"https://api.github.com/repos/cake-build/cake/pulls/comments/46072016"},"html":{"href":"https://github.com/cake-build/cake/pull/539#discussion_r46072016"},"pull_request":{"href":"https://api.github.com/repos/cake-build/cake/pulls/539"}}},"pull_request":{"url":"https://api.github.com/repos/cake-build/cake/pulls/539","id":52026543,"html_url":"https://github.com/cake-build/cake/pull/539","diff_url":"https://github.com/cake-build/cake/pull/539.diff","patch_url":"https://github.com/cake-build/cake/pull/539.patch","issue_url":"https://api.github.com/repos/cake-build/cake/issues/539","number":539,"state":"open","locked":false,"title":"Add ability to create ReleaseNotes using GitReleaseManager","user":{"login":"gep13","id":1271146,"avatar_url":"https://avatars.githubusercontent.com/u/1271146?v=3","gravatar_id":"","url":"https://api.github.com/users/gep13","html_url":"https://github.com/gep13","followers_url":"https://api.github.com/users/gep13/followers","following_url":"https://api.github.com/users/gep13/following{/other_user}","gists_url":"https://api.github.com/users/gep13/gists{/gist_id}","starred_url":"https://api.github.com/users/gep13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gep13/subscriptions","organizations_url":"https://api.github.com/users/gep13/orgs","repos_url":"https://api.github.com/users/gep13/repos","events_url":"https://api.github.com/users/gep13/events{/privacy}","received_events_url":"https://api.github.com/users/gep13/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-27T22:14:25Z","updated_at":"2015-11-27T22:31:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6d14ea75cd2d693cbfaf0b844472b8c192a30679","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cake-build/cake/pulls/539/commits","review_comments_url":"https://api.github.com/repos/cake-build/cake/pulls/539/comments","review_comment_url":"https://api.github.com/repos/cake-build/cake/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cake-build/cake/issues/539/comments","statuses_url":"https://api.github.com/repos/cake-build/cake/statuses/5bac6ee95f702b2227ebef413ce618303e8b5add","head":{"label":"gep13:GitReleaseManager","ref":"GitReleaseManager","sha":"5bac6ee95f702b2227ebef413ce618303e8b5add","user":{"login":"gep13","id":1271146,"avatar_url":"https://avatars.githubusercontent.com/u/1271146?v=3","gravatar_id":"","url":"https://api.github.com/users/gep13","html_url":"https://github.com/gep13","followers_url":"https://api.github.com/users/gep13/followers","following_url":"https://api.github.com/users/gep13/following{/other_user}","gists_url":"https://api.github.com/users/gep13/gists{/gist_id}","starred_url":"https://api.github.com/users/gep13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gep13/subscriptions","organizations_url":"https://api.github.com/users/gep13/orgs","repos_url":"https://api.github.com/users/gep13/repos","events_url":"https://api.github.com/users/gep13/events{/privacy}","received_events_url":"https://api.github.com/users/gep13/received_events","type":"User","site_admin":false},"repo":{"id":43681496,"name":"cake","full_name":"gep13/cake","owner":{"login":"gep13","id":1271146,"avatar_url":"https://avatars.githubusercontent.com/u/1271146?v=3","gravatar_id":"","url":"https://api.github.com/users/gep13","html_url":"https://github.com/gep13","followers_url":"https://api.github.com/users/gep13/followers","following_url":"https://api.github.com/users/gep13/following{/other_user}","gists_url":"https://api.github.com/users/gep13/gists{/gist_id}","starred_url":"https://api.github.com/users/gep13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gep13/subscriptions","organizations_url":"https://api.github.com/users/gep13/orgs","repos_url":"https://api.github.com/users/gep13/repos","events_url":"https://api.github.com/users/gep13/events{/privacy}","received_events_url":"https://api.github.com/users/gep13/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gep13/cake","description":"Cake (C# Make) is a cross platform build automation system.","fork":true,"url":"https://api.github.com/repos/gep13/cake","forks_url":"https://api.github.com/repos/gep13/cake/forks","keys_url":"https://api.github.com/repos/gep13/cake/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gep13/cake/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gep13/cake/teams","hooks_url":"https://api.github.com/repos/gep13/cake/hooks","issue_events_url":"https://api.github.com/repos/gep13/cake/issues/events{/number}","events_url":"https://api.github.com/repos/gep13/cake/events","assignees_url":"https://api.github.com/repos/gep13/cake/assignees{/user}","branches_url":"https://api.github.com/repos/gep13/cake/branches{/branch}","tags_url":"https://api.github.com/repos/gep13/cake/tags","blobs_url":"https://api.github.com/repos/gep13/cake/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gep13/cake/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gep13/cake/git/refs{/sha}","trees_url":"https://api.github.com/repos/gep13/cake/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gep13/cake/statuses/{sha}","languages_url":"https://api.github.com/repos/gep13/cake/languages","stargazers_url":"https://api.github.com/repos/gep13/cake/stargazers","contributors_url":"https://api.github.com/repos/gep13/cake/contributors","subscribers_url":"https://api.github.com/repos/gep13/cake/subscribers","subscription_url":"https://api.github.com/repos/gep13/cake/subscription","commits_url":"https://api.github.com/repos/gep13/cake/commits{/sha}","git_commits_url":"https://api.github.com/repos/gep13/cake/git/commits{/sha}","comments_url":"https://api.github.com/repos/gep13/cake/comments{/number}","issue_comment_url":"https://api.github.com/repos/gep13/cake/issues/comments{/number}","contents_url":"https://api.github.com/repos/gep13/cake/contents/{+path}","compare_url":"https://api.github.com/repos/gep13/cake/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gep13/cake/merges","archive_url":"https://api.github.com/repos/gep13/cake/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gep13/cake/downloads","issues_url":"https://api.github.com/repos/gep13/cake/issues{/number}","pulls_url":"https://api.github.com/repos/gep13/cake/pulls{/number}","milestones_url":"https://api.github.com/repos/gep13/cake/milestones{/number}","notifications_url":"https://api.github.com/repos/gep13/cake/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gep13/cake/labels{/name}","releases_url":"https://api.github.com/repos/gep13/cake/releases{/id}","created_at":"2015-10-05T11:56:38Z","updated_at":"2015-10-05T11:56:40Z","pushed_at":"2015-11-27T22:31:38Z","git_url":"git://github.com/gep13/cake.git","ssh_url":"git@github.com:gep13/cake.git","clone_url":"https://github.com/gep13/cake.git","svn_url":"https://github.com/gep13/cake","homepage":"http://cakebuild.net/","size":3447,"stargazers_count":0,"watchers_count":0,"language":"C#","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":"develop"}},"base":{"label":"cake-build:develop","ref":"develop","sha":"f92ab25ce1e0f6244286a30b0475a04ab22aee8c","user":{"login":"cake-build","id":7738262,"avatar_url":"https://avatars.githubusercontent.com/u/7738262?v=3","gravatar_id":"","url":"https://api.github.com/users/cake-build","html_url":"https://github.com/cake-build","followers_url":"https://api.github.com/users/cake-build/followers","following_url":"https://api.github.com/users/cake-build/following{/other_user}","gists_url":"https://api.github.com/users/cake-build/gists{/gist_id}","starred_url":"https://api.github.com/users/cake-build/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cake-build/subscriptions","organizations_url":"https://api.github.com/users/cake-build/orgs","repos_url":"https://api.github.com/users/cake-build/repos","events_url":"https://api.github.com/users/cake-build/events{/privacy}","received_events_url":"https://api.github.com/users/cake-build/received_events","type":"Organization","site_admin":false},"repo":{"id":20094029,"name":"cake","full_name":"cake-build/cake","owner":{"login":"cake-build","id":7738262,"avatar_url":"https://avatars.githubusercontent.com/u/7738262?v=3","gravatar_id":"","url":"https://api.github.com/users/cake-build","html_url":"https://github.com/cake-build","followers_url":"https://api.github.com/users/cake-build/followers","following_url":"https://api.github.com/users/cake-build/following{/other_user}","gists_url":"https://api.github.com/users/cake-build/gists{/gist_id}","starred_url":"https://api.github.com/users/cake-build/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cake-build/subscriptions","organizations_url":"https://api.github.com/users/cake-build/orgs","repos_url":"https://api.github.com/users/cake-build/repos","events_url":"https://api.github.com/users/cake-build/events{/privacy}","received_events_url":"https://api.github.com/users/cake-build/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cake-build/cake","description":"Cake (C# Make) is a cross platform build automation system.","fork":false,"url":"https://api.github.com/repos/cake-build/cake","forks_url":"https://api.github.com/repos/cake-build/cake/forks","keys_url":"https://api.github.com/repos/cake-build/cake/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cake-build/cake/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cake-build/cake/teams","hooks_url":"https://api.github.com/repos/cake-build/cake/hooks","issue_events_url":"https://api.github.com/repos/cake-build/cake/issues/events{/number}","events_url":"https://api.github.com/repos/cake-build/cake/events","assignees_url":"https://api.github.com/repos/cake-build/cake/assignees{/user}","branches_url":"https://api.github.com/repos/cake-build/cake/branches{/branch}","tags_url":"https://api.github.com/repos/cake-build/cake/tags","blobs_url":"https://api.github.com/repos/cake-build/cake/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cake-build/cake/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cake-build/cake/git/refs{/sha}","trees_url":"https://api.github.com/repos/cake-build/cake/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cake-build/cake/statuses/{sha}","languages_url":"https://api.github.com/repos/cake-build/cake/languages","stargazers_url":"https://api.github.com/repos/cake-build/cake/stargazers","contributors_url":"https://api.github.com/repos/cake-build/cake/contributors","subscribers_url":"https://api.github.com/repos/cake-build/cake/subscribers","subscription_url":"https://api.github.com/repos/cake-build/cake/subscription","commits_url":"https://api.github.com/repos/cake-build/cake/commits{/sha}","git_commits_url":"https://api.github.com/repos/cake-build/cake/git/commits{/sha}","comments_url":"https://api.github.com/repos/cake-build/cake/comments{/number}","issue_comment_url":"https://api.github.com/repos/cake-build/cake/issues/comments{/number}","contents_url":"https://api.github.com/repos/cake-build/cake/contents/{+path}","compare_url":"https://api.github.com/repos/cake-build/cake/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cake-build/cake/merges","archive_url":"https://api.github.com/repos/cake-build/cake/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cake-build/cake/downloads","issues_url":"https://api.github.com/repos/cake-build/cake/issues{/number}","pulls_url":"https://api.github.com/repos/cake-build/cake/pulls{/number}","milestones_url":"https://api.github.com/repos/cake-build/cake/milestones{/number}","notifications_url":"https://api.github.com/repos/cake-build/cake/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cake-build/cake/labels{/name}","releases_url":"https://api.github.com/repos/cake-build/cake/releases{/id}","created_at":"2014-05-23T09:26:54Z","updated_at":"2015-11-27T12:41:31Z","pushed_at":"2015-11-27T22:31:38Z","git_url":"git://github.com/cake-build/cake.git","ssh_url":"git@github.com:cake-build/cake.git","clone_url":"https://github.com/cake-build/cake.git","svn_url":"https://github.com/cake-build/cake","homepage":"http://cakebuild.net/","size":4310,"stargazers_count":319,"watchers_count":319,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":71,"mirror_url":null,"open_issues_count":82,"forks":71,"open_issues":82,"watchers":319,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/cake-build/cake/pulls/539"},"html":{"href":"https://github.com/cake-build/cake/pull/539"},"issue":{"href":"https://api.github.com/repos/cake-build/cake/issues/539"},"comments":{"href":"https://api.github.com/repos/cake-build/cake/issues/539/comments"},"review_comments":{"href":"https://api.github.com/repos/cake-build/cake/pulls/539/comments"},"review_comment":{"href":"https://api.github.com/repos/cake-build/cake/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cake-build/cake/pulls/539/commits"},"statuses":{"href":"https://api.github.com/repos/cake-build/cake/statuses/5bac6ee95f702b2227ebef413ce618303e8b5add"}}}}