You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GitVersion is calculating the wrong version, when a parent branch exists both as local and remote branch.
In that case, it print this warning:
WARN [10/07/20 14:29:24:80] Failed to inherit Increment branch configuration, ended up with: support/v1.0.x, origin/support/v1.0.x
Falling back to develop branch config
The default Increment of the develop branch is Minor, whereas Patch is expected for the support branch.
Steps to Reproduce
git init remote
cd remote
git commit --allow-empty -m "init"
git tag -a -m "Release 1.0" v1.0
git checkout -b develop
git commit --allow-empty -m "new feature"
git checkout master
git checkout -b support/v1.0.x
git commit --allow-empty -m "hotfix"
git tag -a -m "Release 1.0.1" v1.0.1
cd ..
git clone remote local
cd local
git checkout master
git checkout develop
git checkout support/v1.0.x
git checkout -b bugfix
git commit --allow-empty -m "bugfix"
Expected Behavior
"FullSemVer":"1.0.2-bugfix.1+1"
Actual Behavior
"FullSemVer":"1.1.0-bugfix.1+2"
Solution direction
Treat the local and remote branches as equal if they have the same name
The text was updated successfully, but these errors were encountered:
GitVersion is calculating the wrong version, when a parent branch exists both as local and remote branch.
In that case, it print this warning:
The default Increment of the
develop
branch is Minor, whereas Patch is expected for the support branch.Steps to Reproduce
Expected Behavior
Actual Behavior
Solution direction
Treat the local and remote branches as equal if they have the same name
The text was updated successfully, but these errors were encountered: