Reputation: 67
According to the documentation of GitVersion for GitFlow, the minor version of the develop branch should be bumped when a release branch is created. As far as I understood it, this should happen automagically? (https://gitversion.readthedocs.io/en/latest/git-branching-strategies/gitflow-examples/) - See Minor/Major release branches
I'm currently using GitVersion 3.6.5 (as this is the version installed with the VSTS GitVersion task)
I created a small test repository as follows:
That last gitversion command, i expected it to report 0.3.0.unstable.#, because there exists a release branch for 0.2.0
Why isn't develop reporting an increase in minor version after I created the release branch and committed to it?!
Upvotes: 0
Views: 949
Reputation: 67
After testing the same flow with GitVersion 4.0.0-beta13, it correctly reports develop to be 0.3.0 instead of 0.2.0
Now i just need to figure out a way to incorporate 4.0.0 into our vsts build process
Edit:
Workaround for VSTS / TFS icm with GitVersion task: https://github.com/GitTools/GitVersion/issues/1160#issuecomment-381517122
Upvotes: 0