{"action":"closed","number":325,"pull_request":{"url":"https://api.github.com/repos/ParticularLabs/GitVersion/pulls/325","id":25804128,"html_url":"https://github.com/ParticularLabs/GitVersion/pull/325","diff_url":"https://github.com/ParticularLabs/GitVersion/pull/325.diff","patch_url":"https://github.com/ParticularLabs/GitVersion/pull/325.patch","issue_url":"https://api.github.com/repos/ParticularLabs/GitVersion/issues/325","number":325,"state":"closed","locked":false,"title":"WIP: Continuous deployment and delivery versioning mode","user":{"login":"yannisgu","id":1180984,"avatar_url":"https://avatars.githubusercontent.com/u/1180984?v=3","gravatar_id":"","url":"https://api.github.com/users/yannisgu","html_url":"https://github.com/yannisgu","followers_url":"https://api.github.com/users/yannisgu/followers","following_url":"https://api.github.com/users/yannisgu/following{/other_user}","gists_url":"https://api.github.com/users/yannisgu/gists{/gist_id}","starred_url":"https://api.github.com/users/yannisgu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yannisgu/subscriptions","organizations_url":"https://api.github.com/users/yannisgu/orgs","repos_url":"https://api.github.com/users/yannisgu/repos","events_url":"https://api.github.com/users/yannisgu/events{/privacy}","received_events_url":"https://api.github.com/users/yannisgu/received_events","type":"User","site_admin":false},"body":"As discussed #323 GitVersion should support different versioning modes which can be configured in the GitVersionConfig.yaml.\r\n\r\nThe modes are continuous deployment and continuous delivery.\r\n\r\nAs @JakeGinnivan says:\r\n> Continuous deployment means you want each build to have a unique nuget version, continuous delivery means you do not.\r\n\r\nAt the moment the only difference is the pre-release tag. In continuous delivery the scheme is `<configured tag>.1` or if there is an applicable tag `<last-tag-name>-<last-tag-number>+1`. \r\nIn continuous deployment the scheme is `<configured tag>.<nr of commits>`\r\n\r\nWhat is still open:\r\n- [ ] GitHub flow, how to handle those there?\r\n- [ ] Feature branches, how is the scheme here?\r\n- [ ] Are hotfix  branches \"the same\" as release branches?\r\n- [ ] Support branches?\r\n- [ ] Maybe find a better place than GitFlowVersionFInder for setting the `CurrentBranchConfig` property or maybe even find a better place for this property  than the `context`\r\n- [ ] Do we need more than just the pre-release tag in the versioning mode?\r\n- [ ] Can code be dropped?\r\n\r\nHappy to see your comments and thoughts :smile:","created_at":"2014-12-10T07:52:47Z","updated_at":"2015-01-07T17:09:47Z","closed_at":"2015-01-07T17:09:47Z","merged_at":null,"merge_commit_sha":"cfec7bcf2f1b374e7b95f154a34f49d45b65cea8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ParticularLabs/GitVersion/pulls/325/commits","review_comments_url":"https://api.github.com/repos/ParticularLabs/GitVersion/pulls/325/comments","review_comment_url":"https://api.github.com/repos/ParticularLabs/GitVersion/pulls/comments/{number}","comments_url":"https://api.github.com/repos/ParticularLabs/GitVersion/issues/325/comments","statuses_url":"https://api.github.com/repos/ParticularLabs/GitVersion/statuses/c2330e48a12bc544104ef2016e12d3cb8ff36030","head":{"label":"unic:versioningModes","ref":"versioningModes","sha":"c2330e48a12bc544104ef2016e12d3cb8ff36030","user":{"login":"unic","id":2689502,"avatar_url":"https://avatars.githubusercontent.com/u/2689502?v=3","gravatar_id":"","url":"https://api.github.com/users/unic","html_url":"https://github.com/unic","followers_url":"https://api.github.com/users/unic/followers","following_url":"https://api.github.com/users/unic/following{/other_user}","gists_url":"https://api.github.com/users/unic/gists{/gist_id}","starred_url":"https://api.github.com/users/unic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unic/subscriptions","organizations_url":"https://api.github.com/users/unic/orgs","repos_url":"https://api.github.com/users/unic/repos","events_url":"https://api.github.com/users/unic/events{/privacy}","received_events_url":"https://api.github.com/users/unic/received_events","type":"Organization","site_admin":false},"repo":{"id":23827555,"name":"GitVersion","full_name":"unic/GitVersion","owner":{"login":"unic","id":2689502,"avatar_url":"https://avatars.githubusercontent.com/u/2689502?v=3","gravatar_id":"","url":"https://api.github.com/users/unic","html_url":"https://github.com/unic","followers_url":"https://api.github.com/users/unic/followers","following_url":"https://api.github.com/users/unic/following{/other_user}","gists_url":"https://api.github.com/users/unic/gists{/gist_id}","starred_url":"https://api.github.com/users/unic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unic/subscriptions","organizations_url":"https://api.github.com/users/unic/orgs","repos_url":"https://api.github.com/users/unic/repos","events_url":"https://api.github.com/users/unic/events{/privacy}","received_events_url":"https://api.github.com/users/unic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/unic/GitVersion","description":"Use convention to derive a SemVer product version from a GitFlow based repository","fork":true,"url":"https://api.github.com/repos/unic/GitVersion","forks_url":"https://api.github.com/repos/unic/GitVersion/forks","keys_url":"https://api.github.com/repos/unic/GitVersion/keys{/key_id}","collaborators_url":"https://api.github.com/repos/unic/GitVersion/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/unic/GitVersion/teams","hooks_url":"https://api.github.com/repos/unic/GitVersion/hooks","issue_events_url":"https://api.github.com/repos/unic/GitVersion/issues/events{/number}","events_url":"https://api.github.com/repos/unic/GitVersion/events","assignees_url":"https://api.github.com/repos/unic/GitVersion/assignees{/user}","branches_url":"https://api.github.com/repos/unic/GitVersion/branches{/branch}","tags_url":"https://api.github.com/repos/unic/GitVersion/tags","blobs_url":"https://api.github.com/repos/unic/GitVersion/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/unic/GitVersion/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/unic/GitVersion/git/refs{/sha}","trees_url":"https://api.github.com/repos/unic/GitVersion/git/trees{/sha}","statuses_url":"https://api.github.com/repos/unic/GitVersion/statuses/{sha}","languages_url":"https://api.github.com/repos/unic/GitVersion/languages","stargazers_url":"https://api.github.com/repos/unic/GitVersion/stargazers","contributors_url":"https://api.github.com/repos/unic/GitVersion/contributors","subscribers_url":"https://api.github.com/repos/unic/GitVersion/subscribers","subscription_url":"https://api.github.com/repos/unic/GitVersion/subscription","commits_url":"https://api.github.com/repos/unic/GitVersion/commits{/sha}","git_commits_url":"https://api.github.com/repos/unic/GitVersion/git/commits{/sha}","comments_url":"https://api.github.com/repos/unic/GitVersion/comments{/number}","issue_comment_url":"https://api.github.com/repos/unic/GitVersion/issues/comments/{number}","contents_url":"https://api.github.com/repos/unic/GitVersion/contents/{+path}","compare_url":"https://api.github.com/repos/unic/GitVersion/compare/{base}...{head}","merges_url":"https://api.github.com/repos/unic/GitVersion/merges","archive_url":"https://api.github.com/repos/unic/GitVersion/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/unic/GitVersion/downloads","issues_url":"https://api.github.com/repos/unic/GitVersion/issues{/number}","pulls_url":"https://api.github.com/repos/unic/GitVersion/pulls{/number}","milestones_url":"https://api.github.com/repos/unic/GitVersion/milestones{/number}","notifications_url":"https://api.github.com/repos/unic/GitVersion/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/unic/GitVersion/labels{/name}","releases_url":"https://api.github.com/repos/unic/GitVersion/releases{/id}","created_at":"2014-09-09T09:36:56Z","updated_at":"2014-12-09T13:01:14Z","pushed_at":"2014-12-10T16:14:15Z","git_url":"git://github.com/unic/GitVersion.git","ssh_url":"git@github.com:unic/GitVersion.git","clone_url":"https://github.com/unic/GitVersion.git","svn_url":"https://github.com/unic/GitVersion","homepage":"http://particular.github.io/GitVersion/","size":5328,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ParticularLabs:master","ref":"master","sha":"50d6f03171a3aae8487bf88ccfdd7fd273546b99","user":{"login":"ParticularLabs","id":9639057,"avatar_url":"https://avatars.githubusercontent.com/u/9639057?v=3","gravatar_id":"","url":"https://api.github.com/users/ParticularLabs","html_url":"https://github.com/ParticularLabs","followers_url":"https://api.github.com/users/ParticularLabs/followers","following_url":"https://api.github.com/users/ParticularLabs/following{/other_user}","gists_url":"https://api.github.com/users/ParticularLabs/gists{/gist_id}","starred_url":"https://api.github.com/users/ParticularLabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ParticularLabs/subscriptions","organizations_url":"https://api.github.com/users/ParticularLabs/orgs","repos_url":"https://api.github.com/users/ParticularLabs/repos","events_url":"https://api.github.com/users/ParticularLabs/events{/privacy}","received_events_url":"https://api.github.com/users/ParticularLabs/received_events","type":"Organization","site_admin":false},"repo":{"id":12399790,"name":"GitVersion","full_name":"ParticularLabs/GitVersion","owner":{"login":"ParticularLabs","id":9639057,"avatar_url":"https://avatars.githubusercontent.com/u/9639057?v=3","gravatar_id":"","url":"https://api.github.com/users/ParticularLabs","html_url":"https://github.com/ParticularLabs","followers_url":"https://api.github.com/users/ParticularLabs/followers","following_url":"https://api.github.com/users/ParticularLabs/following{/other_user}","gists_url":"https://api.github.com/users/ParticularLabs/gists{/gist_id}","starred_url":"https://api.github.com/users/ParticularLabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ParticularLabs/subscriptions","organizations_url":"https://api.github.com/users/ParticularLabs/orgs","repos_url":"https://api.github.com/users/ParticularLabs/repos","events_url":"https://api.github.com/users/ParticularLabs/events{/privacy}","received_events_url":"https://api.github.com/users/ParticularLabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ParticularLabs/GitVersion","description":"Use convention to derive a SemVer product version from a GitFlow based repository","fork":false,"url":"https://api.github.com/repos/ParticularLabs/GitVersion","forks_url":"https://api.github.com/repos/ParticularLabs/GitVersion/forks","keys_url":"https://api.github.com/repos/ParticularLabs/GitVersion/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ParticularLabs/GitVersion/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ParticularLabs/GitVersion/teams","hooks_url":"https://api.github.com/repos/ParticularLabs/GitVersion/hooks","issue_events_url":"https://api.github.com/repos/ParticularLabs/GitVersion/issues/events{/number}","events_url":"https://api.github.com/repos/ParticularLabs/GitVersion/events","assignees_url":"https://api.github.com/repos/ParticularLabs/GitVersion/assignees{/user}","branches_url":"https://api.github.com/repos/ParticularLabs/GitVersion/branches{/branch}","tags_url":"https://api.github.com/repos/ParticularLabs/GitVersion/tags","blobs_url":"https://api.github.com/repos/ParticularLabs/GitVersion/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ParticularLabs/GitVersion/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ParticularLabs/GitVersion/git/refs{/sha}","trees_url":"https://api.github.com/repos/ParticularLabs/GitVersion/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ParticularLabs/GitVersion/statuses/{sha}","languages_url":"https://api.github.com/repos/ParticularLabs/GitVersion/languages","stargazers_url":"https://api.github.com/repos/ParticularLabs/GitVersion/stargazers","contributors_url":"https://api.github.com/repos/ParticularLabs/GitVersion/contributors","subscribers_url":"https://api.github.com/repos/ParticularLabs/GitVersion/subscribers","subscription_url":"https://api.github.com/repos/ParticularLabs/GitVersion/subscription","commits_url":"https://api.github.com/repos/ParticularLabs/GitVersion/commits{/sha}","git_commits_url":"https://api.github.com/repos/ParticularLabs/GitVersion/git/commits{/sha}","comments_url":"https://api.github.com/repos/ParticularLabs/GitVersion/comments{/number}","issue_comment_url":"https://api.github.com/repos/ParticularLabs/GitVersion/issues/comments/{number}","contents_url":"https://api.github.com/repos/ParticularLabs/GitVersion/contents/{+path}","compare_url":"https://api.github.com/repos/ParticularLabs/GitVersion/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ParticularLabs/GitVersion/merges","archive_url":"https://api.github.com/repos/ParticularLabs/GitVersion/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ParticularLabs/GitVersion/downloads","issues_url":"https://api.github.com/repos/ParticularLabs/GitVersion/issues{/number}","pulls_url":"https://api.github.com/repos/ParticularLabs/GitVersion/pulls{/number}","milestones_url":"https://api.github.com/repos/ParticularLabs/GitVersion/milestones{/number}","notifications_url":"https://api.github.com/repos/ParticularLabs/GitVersion/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ParticularLabs/GitVersion/labels{/name}","releases_url":"https://api.github.com/repos/ParticularLabs/GitVersion/releases{/id}","created_at":"2013-08-27T07:30:20Z","updated_at":"2015-01-07T10:50:16Z","pushed_at":"2015-01-07T17:09:10Z","git_url":"git://github.com/ParticularLabs/GitVersion.git","ssh_url":"git@github.com:ParticularLabs/GitVersion.git","clone_url":"https://github.com/ParticularLabs/GitVersion.git","svn_url":"https://github.com/ParticularLabs/GitVersion","homepage":"http://particularlabs.github.io/GitVersion/","size":8796,"stargazers_count":132,"watchers_count":132,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":46,"mirror_url":null,"open_issues_count":56,"forks":46,"open_issues":56,"watchers":132,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ParticularLabs/GitVersion/pulls/325"},"html":{"href":"https://github.com/ParticularLabs/GitVersion/pull/325"},"issue":{"href":"https://api.github.com/repos/ParticularLabs/GitVersion/issues/325"},"comments":{"href":"https://api.github.com/repos/ParticularLabs/GitVersion/issues/325/comments"},"review_comments":{"href":"https://api.github.com/repos/ParticularLabs/GitVersion/pulls/325/comments"},"review_comment":{"href":"https://api.github.com/repos/ParticularLabs/GitVersion/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/ParticularLabs/GitVersion/pulls/325/commits"},"statuses":{"href":"https://api.github.com/repos/ParticularLabs/GitVersion/statuses/c2330e48a12bc544104ef2016e12d3cb8ff36030"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":14,"review_comments":0,"commits":5,"additions":287,"deletions":45,"changed_files":19}}