-
Notifications
You must be signed in to change notification settings - Fork 660
Closed as not planned
Description
Describe the bug
With 5.12.0, in ContinuousDeployment mode, the tag applied to a commit is not took into account and is overriden.
Expected Behavior
If i tag a commit with 1.1.0-preview1
on a master branch i would expect that NuGetVersion and NuGetVersionV2 to be 1.1.0-preview0001
(this is the behavior of GitVersion 5.10.3)
Actual Behavior
- If build is queued by selecting the tag, build is tagged
1.1.0-tags-1-1-0-prev-0001
- If build is queued by selecting the branch master (HEAD is the tagged commit), build is tagged
1.1.0
Possible Fix
GitVersion Documentation is mentionning
Tagging commit
By tagging a commit, GitVersion will use that tag for the version of that commit, then increment the next commit automatically based on the increment rules for that branch (some branches bump patch, some minor).
Steps to Reproduce
Context
Azure DevOps git repo that output nuget packages, GitHub flow. GitVersion used to ship preversion from the master branch.
masakura and Dovchik