{"action":"opened","number":69,"pull_request":{"url":"https://api.github.com/repos/OctopusDeploy/OctoPack/pulls/69","id":40456308,"html_url":"https://github.com/OctopusDeploy/OctoPack/pull/69","diff_url":"https://github.com/OctopusDeploy/OctoPack/pull/69.diff","patch_url":"https://github.com/OctopusDeploy/OctoPack/pull/69.patch","issue_url":"https://api.github.com/repos/OctopusDeploy/OctoPack/issues/69","number":69,"state":"open","locked":false,"title":"Gitversion compatibility","user":{"login":"draugr","id":583723,"avatar_url":"https://avatars.githubusercontent.com/u/583723?v=3","gravatar_id":"","url":"https://api.github.com/users/draugr","html_url":"https://github.com/draugr","followers_url":"https://api.github.com/users/draugr/followers","following_url":"https://api.github.com/users/draugr/following{/other_user}","gists_url":"https://api.github.com/users/draugr/gists{/gist_id}","starred_url":"https://api.github.com/users/draugr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/draugr/subscriptions","organizations_url":"https://api.github.com/users/draugr/orgs","repos_url":"https://api.github.com/users/draugr/repos","events_url":"https://api.github.com/users/draugr/events{/privacy}","received_events_url":"https://api.github.com/users/draugr/received_events","type":"User","site_admin":false},"body":"This PR enables compatability with [GitVersionTasks](https://github.com/GitTools/GitVersion).\r\n\r\nThe version number, when using GitVersionTasks, comes from a msbuild step, i.e after we can override the OctoPackPackageVersion.\r\n\r\nThis PR checks for the special types GitVersion adds to the versioned assembly, and uses the \"NuGetVersion\" as its main source of truth.\r\n\r\nRelevant discussions:\r\nOctopusDeploy/OctoPack#60\r\nhttps://twitter.com/jakeginnivan/status/584236410984652800\r\n\r\nOther workaround:\r\nhttp://www.neovolve.com/2015/04/04/bridging-gitversion-and-octopack/\r\n","created_at":"2015-07-21T13:24:40Z","updated_at":"2015-07-21T13:24:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OctopusDeploy/OctoPack/pulls/69/commits","review_comments_url":"https://api.github.com/repos/OctopusDeploy/OctoPack/pulls/69/comments","review_comment_url":"https://api.github.com/repos/OctopusDeploy/OctoPack/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OctopusDeploy/OctoPack/issues/69/comments","statuses_url":"https://api.github.com/repos/OctopusDeploy/OctoPack/statuses/6352788528f15f0f873965bd20783a1fd9d11bf5","head":{"label":"okb:gitversion-compatibility","ref":"gitversion-compatibility","sha":"6352788528f15f0f873965bd20783a1fd9d11bf5","user":{"login":"okb","id":1201434,"avatar_url":"https://avatars.githubusercontent.com/u/1201434?v=3","gravatar_id":"","url":"https://api.github.com/users/okb","html_url":"https://github.com/okb","followers_url":"https://api.github.com/users/okb/followers","following_url":"https://api.github.com/users/okb/following{/other_user}","gists_url":"https://api.github.com/users/okb/gists{/gist_id}","starred_url":"https://api.github.com/users/okb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okb/subscriptions","organizations_url":"https://api.github.com/users/okb/orgs","repos_url":"https://api.github.com/users/okb/repos","events_url":"https://api.github.com/users/okb/events{/privacy}","received_events_url":"https://api.github.com/users/okb/received_events","type":"Organization","site_admin":false},"repo":{"id":39439967,"name":"OctoPack","full_name":"okb/OctoPack","owner":{"login":"okb","id":1201434,"avatar_url":"https://avatars.githubusercontent.com/u/1201434?v=3","gravatar_id":"","url":"https://api.github.com/users/okb","html_url":"https://github.com/okb","followers_url":"https://api.github.com/users/okb/followers","following_url":"https://api.github.com/users/okb/following{/other_user}","gists_url":"https://api.github.com/users/okb/gists{/gist_id}","starred_url":"https://api.github.com/users/okb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okb/subscriptions","organizations_url":"https://api.github.com/users/okb/orgs","repos_url":"https://api.github.com/users/okb/repos","events_url":"https://api.github.com/users/okb/events{/privacy}","received_events_url":"https://api.github.com/users/okb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/okb/OctoPack","description":"Creates Octopus-compatible NuGet packages","fork":true,"url":"https://api.github.com/repos/okb/OctoPack","forks_url":"https://api.github.com/repos/okb/OctoPack/forks","keys_url":"https://api.github.com/repos/okb/OctoPack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/okb/OctoPack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/okb/OctoPack/teams","hooks_url":"https://api.github.com/repos/okb/OctoPack/hooks","issue_events_url":"https://api.github.com/repos/okb/OctoPack/issues/events{/number}","events_url":"https://api.github.com/repos/okb/OctoPack/events","assignees_url":"https://api.github.com/repos/okb/OctoPack/assignees{/user}","branches_url":"https://api.github.com/repos/okb/OctoPack/branches{/branch}","tags_url":"https://api.github.com/repos/okb/OctoPack/tags","blobs_url":"https://api.github.com/repos/okb/OctoPack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/okb/OctoPack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/okb/OctoPack/git/refs{/sha}","trees_url":"https://api.github.com/repos/okb/OctoPack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/okb/OctoPack/statuses/{sha}","languages_url":"https://api.github.com/repos/okb/OctoPack/languages","stargazers_url":"https://api.github.com/repos/okb/OctoPack/stargazers","contributors_url":"https://api.github.com/repos/okb/OctoPack/contributors","subscribers_url":"https://api.github.com/repos/okb/OctoPack/subscribers","subscription_url":"https://api.github.com/repos/okb/OctoPack/subscription","commits_url":"https://api.github.com/repos/okb/OctoPack/commits{/sha}","git_commits_url":"https://api.github.com/repos/okb/OctoPack/git/commits{/sha}","comments_url":"https://api.github.com/repos/okb/OctoPack/comments{/number}","issue_comment_url":"https://api.github.com/repos/okb/OctoPack/issues/comments{/number}","contents_url":"https://api.github.com/repos/okb/OctoPack/contents/{+path}","compare_url":"https://api.github.com/repos/okb/OctoPack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/okb/OctoPack/merges","archive_url":"https://api.github.com/repos/okb/OctoPack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/okb/OctoPack/downloads","issues_url":"https://api.github.com/repos/okb/OctoPack/issues{/number}","pulls_url":"https://api.github.com/repos/okb/OctoPack/pulls{/number}","milestones_url":"https://api.github.com/repos/okb/OctoPack/milestones{/number}","notifications_url":"https://api.github.com/repos/okb/OctoPack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/okb/OctoPack/labels{/name}","releases_url":"https://api.github.com/repos/okb/OctoPack/releases{/id}","created_at":"2015-07-21T10:48:51Z","updated_at":"2015-07-21T10:48:52Z","pushed_at":"2015-07-21T13:04:04Z","git_url":"git://github.com/okb/OctoPack.git","ssh_url":"git@github.com:okb/OctoPack.git","clone_url":"https://github.com/okb/OctoPack.git","svn_url":"https://github.com/okb/OctoPack","homepage":"http://octopusdeploy.com","size":3126,"stargazers_count":0,"watchers_count":0,"language":"C#","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":"OctopusDeploy:master","ref":"master","sha":"790c84fad3f3c104a7e62bdc5a7336bb0fe19281","user":{"login":"OctopusDeploy","id":1287123,"avatar_url":"https://avatars.githubusercontent.com/u/1287123?v=3","gravatar_id":"","url":"https://api.github.com/users/OctopusDeploy","html_url":"https://github.com/OctopusDeploy","followers_url":"https://api.github.com/users/OctopusDeploy/followers","following_url":"https://api.github.com/users/OctopusDeploy/following{/other_user}","gists_url":"https://api.github.com/users/OctopusDeploy/gists{/gist_id}","starred_url":"https://api.github.com/users/OctopusDeploy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OctopusDeploy/subscriptions","organizations_url":"https://api.github.com/users/OctopusDeploy/orgs","repos_url":"https://api.github.com/users/OctopusDeploy/repos","events_url":"https://api.github.com/users/OctopusDeploy/events{/privacy}","received_events_url":"https://api.github.com/users/OctopusDeploy/received_events","type":"Organization","site_admin":false},"repo":{"id":3133665,"name":"OctoPack","full_name":"OctopusDeploy/OctoPack","owner":{"login":"OctopusDeploy","id":1287123,"avatar_url":"https://avatars.githubusercontent.com/u/1287123?v=3","gravatar_id":"","url":"https://api.github.com/users/OctopusDeploy","html_url":"https://github.com/OctopusDeploy","followers_url":"https://api.github.com/users/OctopusDeploy/followers","following_url":"https://api.github.com/users/OctopusDeploy/following{/other_user}","gists_url":"https://api.github.com/users/OctopusDeploy/gists{/gist_id}","starred_url":"https://api.github.com/users/OctopusDeploy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OctopusDeploy/subscriptions","organizations_url":"https://api.github.com/users/OctopusDeploy/orgs","repos_url":"https://api.github.com/users/OctopusDeploy/repos","events_url":"https://api.github.com/users/OctopusDeploy/events{/privacy}","received_events_url":"https://api.github.com/users/OctopusDeploy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OctopusDeploy/OctoPack","description":"Creates Octopus-compatible NuGet packages","fork":false,"url":"https://api.github.com/repos/OctopusDeploy/OctoPack","forks_url":"https://api.github.com/repos/OctopusDeploy/OctoPack/forks","keys_url":"https://api.github.com/repos/OctopusDeploy/OctoPack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OctopusDeploy/OctoPack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OctopusDeploy/OctoPack/teams","hooks_url":"https://api.github.com/repos/OctopusDeploy/OctoPack/hooks","issue_events_url":"https://api.github.com/repos/OctopusDeploy/OctoPack/issues/events{/number}","events_url":"https://api.github.com/repos/OctopusDeploy/OctoPack/events","assignees_url":"https://api.github.com/repos/OctopusDeploy/OctoPack/assignees{/user}","branches_url":"https://api.github.com/repos/OctopusDeploy/OctoPack/branches{/branch}","tags_url":"https://api.github.com/repos/OctopusDeploy/OctoPack/tags","blobs_url":"https://api.github.com/repos/OctopusDeploy/OctoPack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OctopusDeploy/OctoPack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OctopusDeploy/OctoPack/git/refs{/sha}","trees_url":"https://api.github.com/repos/OctopusDeploy/OctoPack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OctopusDeploy/OctoPack/statuses/{sha}","languages_url":"https://api.github.com/repos/OctopusDeploy/OctoPack/languages","stargazers_url":"https://api.github.com/repos/OctopusDeploy/OctoPack/stargazers","contributors_url":"https://api.github.com/repos/OctopusDeploy/OctoPack/contributors","subscribers_url":"https://api.github.com/repos/OctopusDeploy/OctoPack/subscribers","subscription_url":"https://api.github.com/repos/OctopusDeploy/OctoPack/subscription","commits_url":"https://api.github.com/repos/OctopusDeploy/OctoPack/commits{/sha}","git_commits_url":"https://api.github.com/repos/OctopusDeploy/OctoPack/git/commits{/sha}","comments_url":"https://api.github.com/repos/OctopusDeploy/OctoPack/comments{/number}","issue_comment_url":"https://api.github.com/repos/OctopusDeploy/OctoPack/issues/comments{/number}","contents_url":"https://api.github.com/repos/OctopusDeploy/OctoPack/contents/{+path}","compare_url":"https://api.github.com/repos/OctopusDeploy/OctoPack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OctopusDeploy/OctoPack/merges","archive_url":"https://api.github.com/repos/OctopusDeploy/OctoPack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OctopusDeploy/OctoPack/downloads","issues_url":"https://api.github.com/repos/OctopusDeploy/OctoPack/issues{/number}","pulls_url":"https://api.github.com/repos/OctopusDeploy/OctoPack/pulls{/number}","milestones_url":"https://api.github.com/repos/OctopusDeploy/OctoPack/milestones{/number}","notifications_url":"https://api.github.com/repos/OctopusDeploy/OctoPack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OctopusDeploy/OctoPack/labels{/name}","releases_url":"https://api.github.com/repos/OctopusDeploy/OctoPack/releases{/id}","created_at":"2012-01-09T02:49:45Z","updated_at":"2015-06-12T01:44:53Z","pushed_at":"2015-06-26T18:16:38Z","git_url":"git://github.com/OctopusDeploy/OctoPack.git","ssh_url":"git@github.com:OctopusDeploy/OctoPack.git","clone_url":"https://github.com/OctopusDeploy/OctoPack.git","svn_url":"https://github.com/OctopusDeploy/OctoPack","homepage":"http://octopusdeploy.com","size":3126,"stargazers_count":101,"watchers_count":101,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":74,"mirror_url":null,"open_issues_count":29,"forks":74,"open_issues":29,"watchers":101,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OctopusDeploy/OctoPack/pulls/69"},"html":{"href":"https://github.com/OctopusDeploy/OctoPack/pull/69"},"issue":{"href":"https://api.github.com/repos/OctopusDeploy/OctoPack/issues/69"},"comments":{"href":"https://api.github.com/repos/OctopusDeploy/OctoPack/issues/69/comments"},"review_comments":{"href":"https://api.github.com/repos/OctopusDeploy/OctoPack/pulls/69/comments"},"review_comment":{"href":"https://api.github.com/repos/OctopusDeploy/OctoPack/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OctopusDeploy/OctoPack/pulls/69/commits"},"statuses":{"href":"https://api.github.com/repos/OctopusDeploy/OctoPack/statuses/6352788528f15f0f873965bd20783a1fd9d11bf5"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":82,"deletions":5,"changed_files":5}}