{"action":"created","comment":{"url":"https://api.github.com/repos/elmish/elmish/pulls/comments/197737355","pull_request_review_id":131534907,"id":197737355,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NzczNzM1NQ==","diff_hunk":"@@ -170,55 +223,56 @@ Target \"WatchDocs\" (fun _ ->\n // --------------------------------------------------------------------------------------\n // Release Scripts\n \n-Target \"ReleaseDocs\" (fun _ ->\n+Core.Target.create \"ReleaseDocs\" (fun _ ->\n     let tempDocsDir = \"temp/gh-pages\"\n-    CleanDir tempDocsDir\n+    Shell.cleanDir tempDocsDir\n     Repository.cloneSingleBranch \"\" (gitHome + \"/\" + gitName + \".git\") \"gh-pages\" tempDocsDir\n \n-    CopyRecursive \"docs/output\" tempDocsDir true |> tracefn \"%A\"\n-    StageAll tempDocsDir\n-    Git.Commit.Commit tempDocsDir (sprintf \"Update generated documentation for version %s\" release.NugetVersion)\n+    Shell.copyRecursive \"docs/output\" tempDocsDir true |> Trace.tracefn \"%A\"\n+    Tools.Git.Staging.stageAll tempDocsDir\n+    Tools.Git.Commit.exec tempDocsDir (sprintf \"Update generated documentation for version %s\" release.NugetVersion)\n     Branches.push tempDocsDir\n )\n \n #load \"paket-files/build/fsharp/FAKE/modules/Octokit/Octokit.fsx\"\n open Octokit\n \n-Target \"Release\" (fun _ ->\n+Core.Target.create \"Release\" (fun _ ->\n     let user =\n-        match getBuildParam \"github-user\" with\n+        match Environment.environVarOrDefault \"github-user\" String.Empty with\n         | s when not (String.IsNullOrWhiteSpace s) -> s\n-        | _ -> getUserInput \"Username: \"\n+        | _ -> UserInput.getUserInput \"Username: \"\n     let pw =\n-        match getBuildParam \"github-pw\" with\n+        match Environment.environVarOrDefault \"github-pw\" String.Empty with\n         | s when not (String.IsNullOrWhiteSpace s) -> s\n-        | _ -> getUserPassword \"Password: \"\n+        | _ -> UserInput.getUserPassword \"Password: \"\n     let remote =\n-        Git.CommandHelper.getGitResult \"\" \"remote -v\"\n+        Tools.Git.CommandHelper.getGitResult \"\" \"remote -v\"\n         |> Seq.filter (fun (s: string) -> s.EndsWith(\"(push)\"))\n         |> Seq.tryFind (fun (s: string) -> s.Contains(gitOwner + \"/\" + gitName))\n         |> function None -> gitHome + \"/\" + gitName | Some (s: string) -> s.Split().[0]\n \n-    StageAll \"\"\n-    Git.Commit.Commit \"\" (sprintf \"Bump version to %s\" release.NugetVersion)\n+    Tools.Git.Staging.stageAll \"\"","path":"build.fsx","position":314,"original_position":314,"commit_id":"cb392e2350e96ba824e7ba9de464560e6a69bca1","original_commit_id":"cb392e2350e96ba824e7ba9de464560e6a69bca1","user":{"login":"MangelMaxime","id":4760796,"node_id":"MDQ6VXNlcjQ3NjA3OTY=","avatar_url":"https://avatars0.githubusercontent.com/u/4760796?v=4","gravatar_id":"","url":"https://api.github.com/users/MangelMaxime","html_url":"https://github.com/MangelMaxime","followers_url":"https://api.github.com/users/MangelMaxime/followers","following_url":"https://api.github.com/users/MangelMaxime/following{/other_user}","gists_url":"https://api.github.com/users/MangelMaxime/gists{/gist_id}","starred_url":"https://api.github.com/users/MangelMaxime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MangelMaxime/subscriptions","organizations_url":"https://api.github.com/users/MangelMaxime/orgs","repos_url":"https://api.github.com/users/MangelMaxime/repos","events_url":"https://api.github.com/users/MangelMaxime/events{/privacy}","received_events_url":"https://api.github.com/users/MangelMaxime/received_events","type":"User","site_admin":false},"body":"Prefer to open, `Fake.Tools.Git` and use `Staging.stageAll`","created_at":"2018-06-25T09:45:31Z","updated_at":"2018-06-25T09:47:48Z","html_url":"https://github.com/elmish/elmish/pull/149#discussion_r197737355","pull_request_url":"https://api.github.com/repos/elmish/elmish/pulls/149","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/elmish/elmish/pulls/comments/197737355"},"html":{"href":"https://github.com/elmish/elmish/pull/149#discussion_r197737355"},"pull_request":{"href":"https://api.github.com/repos/elmish/elmish/pulls/149"}}},"pull_request":{"url":"https://api.github.com/repos/elmish/elmish/pulls/149","id":196918849,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk2OTE4ODQ5","html_url":"https://github.com/elmish/elmish/pull/149","diff_url":"https://github.com/elmish/elmish/pull/149.diff","patch_url":"https://github.com/elmish/elmish/pull/149.patch","issue_url":"https://api.github.com/repos/elmish/elmish/issues/149","number":149,"state":"open","locked":false,"title":"Updated for FAKE 5.1","user":{"login":"zakaluka","id":1186367,"node_id":"MDQ6VXNlcjExODYzNjc=","avatar_url":"https://avatars2.githubusercontent.com/u/1186367?v=4","gravatar_id":"","url":"https://api.github.com/users/zakaluka","html_url":"https://github.com/zakaluka","followers_url":"https://api.github.com/users/zakaluka/followers","following_url":"https://api.github.com/users/zakaluka/following{/other_user}","gists_url":"https://api.github.com/users/zakaluka/gists{/gist_id}","starred_url":"https://api.github.com/users/zakaluka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zakaluka/subscriptions","organizations_url":"https://api.github.com/users/zakaluka/orgs","repos_url":"https://api.github.com/users/zakaluka/repos","events_url":"https://api.github.com/users/zakaluka/events{/privacy}","received_events_url":"https://api.github.com/users/zakaluka/received_events","type":"User","site_admin":false},"body":"First attempt.","created_at":"2018-06-23T20:16:23Z","updated_at":"2018-06-25T09:47:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b7ef33a672d059ff83352a78708d364b1eb6dad9","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/elmish/elmish/pulls/149/commits","review_comments_url":"https://api.github.com/repos/elmish/elmish/pulls/149/comments","review_comment_url":"https://api.github.com/repos/elmish/elmish/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elmish/elmish/issues/149/comments","statuses_url":"https://api.github.com/repos/elmish/elmish/statuses/cb392e2350e96ba824e7ba9de464560e6a69bca1","head":{"label":"zakaluka:v1.x","ref":"v1.x","sha":"cb392e2350e96ba824e7ba9de464560e6a69bca1","user":{"login":"zakaluka","id":1186367,"node_id":"MDQ6VXNlcjExODYzNjc=","avatar_url":"https://avatars2.githubusercontent.com/u/1186367?v=4","gravatar_id":"","url":"https://api.github.com/users/zakaluka","html_url":"https://github.com/zakaluka","followers_url":"https://api.github.com/users/zakaluka/followers","following_url":"https://api.github.com/users/zakaluka/following{/other_user}","gists_url":"https://api.github.com/users/zakaluka/gists{/gist_id}","starred_url":"https://api.github.com/users/zakaluka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zakaluka/subscriptions","organizations_url":"https://api.github.com/users/zakaluka/orgs","repos_url":"https://api.github.com/users/zakaluka/repos","events_url":"https://api.github.com/users/zakaluka/events{/privacy}","received_events_url":"https://api.github.com/users/zakaluka/received_events","type":"User","site_admin":false},"repo":{"id":138429740,"node_id":"MDEwOlJlcG9zaXRvcnkxMzg0Mjk3NDA=","name":"elmish","full_name":"zakaluka/elmish","owner":{"login":"zakaluka","id":1186367,"node_id":"MDQ6VXNlcjExODYzNjc=","avatar_url":"https://avatars2.githubusercontent.com/u/1186367?v=4","gravatar_id":"","url":"https://api.github.com/users/zakaluka","html_url":"https://github.com/zakaluka","followers_url":"https://api.github.com/users/zakaluka/followers","following_url":"https://api.github.com/users/zakaluka/following{/other_user}","gists_url":"https://api.github.com/users/zakaluka/gists{/gist_id}","starred_url":"https://api.github.com/users/zakaluka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zakaluka/subscriptions","organizations_url":"https://api.github.com/users/zakaluka/orgs","repos_url":"https://api.github.com/users/zakaluka/repos","events_url":"https://api.github.com/users/zakaluka/events{/privacy}","received_events_url":"https://api.github.com/users/zakaluka/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zakaluka/elmish","description":"Elm-like abstractions for F# apps","fork":true,"url":"https://api.github.com/repos/zakaluka/elmish","forks_url":"https://api.github.com/repos/zakaluka/elmish/forks","keys_url":"https://api.github.com/repos/zakaluka/elmish/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zakaluka/elmish/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zakaluka/elmish/teams","hooks_url":"https://api.github.com/repos/zakaluka/elmish/hooks","issue_events_url":"https://api.github.com/repos/zakaluka/elmish/issues/events{/number}","events_url":"https://api.github.com/repos/zakaluka/elmish/events","assignees_url":"https://api.github.com/repos/zakaluka/elmish/assignees{/user}","branches_url":"https://api.github.com/repos/zakaluka/elmish/branches{/branch}","tags_url":"https://api.github.com/repos/zakaluka/elmish/tags","blobs_url":"https://api.github.com/repos/zakaluka/elmish/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zakaluka/elmish/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zakaluka/elmish/git/refs{/sha}","trees_url":"https://api.github.com/repos/zakaluka/elmish/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zakaluka/elmish/statuses/{sha}","languages_url":"https://api.github.com/repos/zakaluka/elmish/languages","stargazers_url":"https://api.github.com/repos/zakaluka/elmish/stargazers","contributors_url":"https://api.github.com/repos/zakaluka/elmish/contributors","subscribers_url":"https://api.github.com/repos/zakaluka/elmish/subscribers","subscription_url":"https://api.github.com/repos/zakaluka/elmish/subscription","commits_url":"https://api.github.com/repos/zakaluka/elmish/commits{/sha}","git_commits_url":"https://api.github.com/repos/zakaluka/elmish/git/commits{/sha}","comments_url":"https://api.github.com/repos/zakaluka/elmish/comments{/number}","issue_comment_url":"https://api.github.com/repos/zakaluka/elmish/issues/comments{/number}","contents_url":"https://api.github.com/repos/zakaluka/elmish/contents/{+path}","compare_url":"https://api.github.com/repos/zakaluka/elmish/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zakaluka/elmish/merges","archive_url":"https://api.github.com/repos/zakaluka/elmish/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zakaluka/elmish/downloads","issues_url":"https://api.github.com/repos/zakaluka/elmish/issues{/number}","pulls_url":"https://api.github.com/repos/zakaluka/elmish/pulls{/number}","milestones_url":"https://api.github.com/repos/zakaluka/elmish/milestones{/number}","notifications_url":"https://api.github.com/repos/zakaluka/elmish/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zakaluka/elmish/labels{/name}","releases_url":"https://api.github.com/repos/zakaluka/elmish/releases{/id}","deployments_url":"https://api.github.com/repos/zakaluka/elmish/deployments","created_at":"2018-06-23T19:59:12Z","updated_at":"2018-06-23T23:48:30Z","pushed_at":"2018-06-23T23:48:29Z","git_url":"git://github.com/zakaluka/elmish.git","ssh_url":"git@github.com:zakaluka/elmish.git","clone_url":"https://github.com/zakaluka/elmish.git","svn_url":"https://github.com/zakaluka/elmish","homepage":"https://elmish.github.io/elmish/","size":1833,"stargazers_count":0,"watchers_count":0,"language":"F#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"v1.x"}},"base":{"label":"elmish:v1.x","ref":"v1.x","sha":"15633122b1a2f0d9ea1a0e336a3d3afdf51aa846","user":{"login":"elmish","id":27572064,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI3NTcyMDY0","avatar_url":"https://avatars1.githubusercontent.com/u/27572064?v=4","gravatar_id":"","url":"https://api.github.com/users/elmish","html_url":"https://github.com/elmish","followers_url":"https://api.github.com/users/elmish/followers","following_url":"https://api.github.com/users/elmish/following{/other_user}","gists_url":"https://api.github.com/users/elmish/gists{/gist_id}","starred_url":"https://api.github.com/users/elmish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elmish/subscriptions","organizations_url":"https://api.github.com/users/elmish/orgs","repos_url":"https://api.github.com/users/elmish/repos","events_url":"https://api.github.com/users/elmish/events{/privacy}","received_events_url":"https://api.github.com/users/elmish/received_events","type":"Organization","site_admin":false},"repo":{"id":67582233,"node_id":"MDEwOlJlcG9zaXRvcnk2NzU4MjIzMw==","name":"elmish","full_name":"elmish/elmish","owner":{"login":"elmish","id":27572064,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI3NTcyMDY0","avatar_url":"https://avatars1.githubusercontent.com/u/27572064?v=4","gravatar_id":"","url":"https://api.github.com/users/elmish","html_url":"https://github.com/elmish","followers_url":"https://api.github.com/users/elmish/followers","following_url":"https://api.github.com/users/elmish/following{/other_user}","gists_url":"https://api.github.com/users/elmish/gists{/gist_id}","starred_url":"https://api.github.com/users/elmish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elmish/subscriptions","organizations_url":"https://api.github.com/users/elmish/orgs","repos_url":"https://api.github.com/users/elmish/repos","events_url":"https://api.github.com/users/elmish/events{/privacy}","received_events_url":"https://api.github.com/users/elmish/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/elmish/elmish","description":"Elm-like abstractions for F# apps","fork":false,"url":"https://api.github.com/repos/elmish/elmish","forks_url":"https://api.github.com/repos/elmish/elmish/forks","keys_url":"https://api.github.com/repos/elmish/elmish/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elmish/elmish/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elmish/elmish/teams","hooks_url":"https://api.github.com/repos/elmish/elmish/hooks","issue_events_url":"https://api.github.com/repos/elmish/elmish/issues/events{/number}","events_url":"https://api.github.com/repos/elmish/elmish/events","assignees_url":"https://api.github.com/repos/elmish/elmish/assignees{/user}","branches_url":"https://api.github.com/repos/elmish/elmish/branches{/branch}","tags_url":"https://api.github.com/repos/elmish/elmish/tags","blobs_url":"https://api.github.com/repos/elmish/elmish/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elmish/elmish/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elmish/elmish/git/refs{/sha}","trees_url":"https://api.github.com/repos/elmish/elmish/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elmish/elmish/statuses/{sha}","languages_url":"https://api.github.com/repos/elmish/elmish/languages","stargazers_url":"https://api.github.com/repos/elmish/elmish/stargazers","contributors_url":"https://api.github.com/repos/elmish/elmish/contributors","subscribers_url":"https://api.github.com/repos/elmish/elmish/subscribers","subscription_url":"https://api.github.com/repos/elmish/elmish/subscription","commits_url":"https://api.github.com/repos/elmish/elmish/commits{/sha}","git_commits_url":"https://api.github.com/repos/elmish/elmish/git/commits{/sha}","comments_url":"https://api.github.com/repos/elmish/elmish/comments{/number}","issue_comment_url":"https://api.github.com/repos/elmish/elmish/issues/comments{/number}","contents_url":"https://api.github.com/repos/elmish/elmish/contents/{+path}","compare_url":"https://api.github.com/repos/elmish/elmish/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elmish/elmish/merges","archive_url":"https://api.github.com/repos/elmish/elmish/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elmish/elmish/downloads","issues_url":"https://api.github.com/repos/elmish/elmish/issues{/number}","pulls_url":"https://api.github.com/repos/elmish/elmish/pulls{/number}","milestones_url":"https://api.github.com/repos/elmish/elmish/milestones{/number}","notifications_url":"https://api.github.com/repos/elmish/elmish/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elmish/elmish/labels{/name}","releases_url":"https://api.github.com/repos/elmish/elmish/releases{/id}","deployments_url":"https://api.github.com/repos/elmish/elmish/deployments","created_at":"2016-09-07T07:19:46Z","updated_at":"2018-06-24T13:07:38Z","pushed_at":"2018-06-23T23:48:30Z","git_url":"git://github.com/elmish/elmish.git","ssh_url":"git@github.com:elmish/elmish.git","clone_url":"https://github.com/elmish/elmish.git","svn_url":"https://github.com/elmish/elmish","homepage":"https://elmish.github.io/elmish/","size":1767,"stargazers_count":245,"watchers_count":245,"language":"F#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":47,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":47,"open_issues":6,"watchers":245,"default_branch":"v1.x"}},"_links":{"self":{"href":"https://api.github.com/repos/elmish/elmish/pulls/149"},"html":{"href":"https://github.com/elmish/elmish/pull/149"},"issue":{"href":"https://api.github.com/repos/elmish/elmish/issues/149"},"comments":{"href":"https://api.github.com/repos/elmish/elmish/issues/149/comments"},"review_comments":{"href":"https://api.github.com/repos/elmish/elmish/pulls/149/comments"},"review_comment":{"href":"https://api.github.com/repos/elmish/elmish/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elmish/elmish/pulls/149/commits"},"statuses":{"href":"https://api.github.com/repos/elmish/elmish/statuses/cb392e2350e96ba824e7ba9de464560e6a69bca1"}},"author_association":"NONE"}}
{"actor":{"display_login":"MangelMaxime"}}