{"action":"created","issue":{"url":"https://api.github.com/repos/ParticularLabs/GitVersion/issues/461","labels_url":"https://api.github.com/repos/ParticularLabs/GitVersion/issues/461/labels{/name}","comments_url":"https://api.github.com/repos/ParticularLabs/GitVersion/issues/461/comments","events_url":"https://api.github.com/repos/ParticularLabs/GitVersion/issues/461/events","html_url":"https://github.com/ParticularLabs/GitVersion/issues/461","id":87640861,"number":461,"title":"Version is not incremented by commits within beta branches (release and hotfix branches)","user":{"login":"FabianTrottmann","id":3853384,"avatar_url":"https://avatars.githubusercontent.com/u/3853384?v=3","gravatar_id":"","url":"https://api.github.com/users/FabianTrottmann","html_url":"https://github.com/FabianTrottmann","followers_url":"https://api.github.com/users/FabianTrottmann/followers","following_url":"https://api.github.com/users/FabianTrottmann/following{/other_user}","gists_url":"https://api.github.com/users/FabianTrottmann/gists{/gist_id}","starred_url":"https://api.github.com/users/FabianTrottmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FabianTrottmann/subscriptions","organizations_url":"https://api.github.com/users/FabianTrottmann/orgs","repos_url":"https://api.github.com/users/FabianTrottmann/repos","events_url":"https://api.github.com/users/FabianTrottmann/events{/privacy}","received_events_url":"https://api.github.com/users/FabianTrottmann/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-06-12T07:32:17Z","updated_at":"2015-06-12T08:13:05Z","closed_at":null,"body":"We create nuget packages with the version we got from GitVersion.exe. The problem we have, is that none of the generated versions fits our needs. We used to use LegacySemVerPadded because it is the right format to create a valid nuspec and nuget package (1.8.0-beta0001). But now we noticed, that when we create release or hotfix branches (GitFlow branching model) and create commits within these branches, the version is not incremented by commits. This leads to deployment problems, because we cannot deploy the same version (which actually is not the same version) twice.\r\n\r\nThe strange thing is, that this behavior does not appear within the develop branch (unstable). It seems that in the develop branch the SemanticVersionPreReleaseTag.Number is incremented. Where as in release and hotfix branches this number always remains one.\r\n\r\nWe could now use ClassicVersionWithTag, but then we have the problem with the format when we want to create nuget packages (1.8.0.9-beta.1 is not allowed). \r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ParticularLabs/GitVersion/issues/comments/111405382","html_url":"https://github.com/ParticularLabs/GitVersion/issues/461#issuecomment-111405382","issue_url":"https://api.github.com/repos/ParticularLabs/GitVersion/issues/461","id":111405382,"user":{"login":"JakeGinnivan","id":453152,"avatar_url":"https://avatars.githubusercontent.com/u/453152?v=3","gravatar_id":"","url":"https://api.github.com/users/JakeGinnivan","html_url":"https://github.com/JakeGinnivan","followers_url":"https://api.github.com/users/JakeGinnivan/followers","following_url":"https://api.github.com/users/JakeGinnivan/following{/other_user}","gists_url":"https://api.github.com/users/JakeGinnivan/gists{/gist_id}","starred_url":"https://api.github.com/users/JakeGinnivan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JakeGinnivan/subscriptions","organizations_url":"https://api.github.com/users/JakeGinnivan/orgs","repos_url":"https://api.github.com/users/JakeGinnivan/repos","events_url":"https://api.github.com/users/JakeGinnivan/events{/privacy}","received_events_url":"https://api.github.com/users/JakeGinnivan/received_events","type":"User","site_admin":false},"created_at":"2015-06-12T08:13:05Z","updated_at":"2015-06-12T08:13:05Z","body":"Yeah, try using `gitversion init` it explains the config. also read https://github.com/ParticularLabs/GitVersion/blob/master/Docs/versionIncrements.md which explains why things are like they are.\r\n\r\nIn short if we incremented every commit then you would not be doing SemVer"}}