-
Notifications
You must be signed in to change notification settings - Fork 664
Closed
Description
Starting with a clean master branch with only a GitVersion.yml config file
The following scenario, after merging develop into feature/featureA causes gitversion (in feature/featureA) to display 1.1.1 as MajorMinorPatch. I would expect it to stay at 1.2.0 or move to 1.3.0 if there's a release branch (release/1.2.0) created
Git commands to reproduce issue
git tag 1.1.0
git checkout -b develop
git commit -m "commit in develop" --allow-empty # 1.2.0-alpha.1
git checkout -b feature/featureA
git commit -m "commit in featureA" --allow-empty # 1.2.0-featureA.2
git commit -m "commit in featureA" --allow-empty # 1.2.0-featureA.3
git checkout develop
git commit -m "commit in develop" --allow-empty # 1.2.0-alpha.2
git commit -m "commit in develop" --allow-empty # 1.2.0-alpha.3
git checkout feature/featureA # 1.2.0-featureA.3
git merge develop --no-ff
Using GitVersion 4.0.0 and ContinuousDeployment in all branches
