-
Notifications
You must be signed in to change notification settings - Fork 658
Closed
Description
Starting with a clean master branch with only a GitVersion.yml config file
Using the flow described in the following diagram:
When deleting the release branch after merging it back to develop causes the CommitsSinceVersionSource to go down from 0006 to 0005
Git commands to reproduce the behavior:
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 -b release/1.2.0
git commit -m "commit in release/1.2.0" --allow-empty # 1.2.0-beta.1
git checkout feature/featureA # 1.2.0-featureA.3
git merge develop --no-ff # BUG see issue 1525
git checkout develop
git merge feature/featureA --no-ff # 1.3.0-alpha.4
git checkout master
git merge release/1.2.0 --no-ff
git tag 1.2.0
git checkout develop
git merge release/1.2.0 --no-ff # 1.3.0-alpha.6
git branch -d release/1.2.0 # 1.3.0-alpha.5 <---- ???
GitVersion.yml looks as follow:
mode: ContinuousDeployment
branches: {}
ignore:
sha: []
Using GitVersion 4.0.0 and ContinuousDeployment in all branches
Metadata
Metadata
Assignees
Labels
No labels