Version skipping tag from main branch #4215
-
Prerequisites
GitVersion packageGitVersion.Tool GitVersion version6.0.2 Operating systemWindows What are you seeing?GitVersion seems to be ignoring the most recent tag on main and performing the calculation from an old tag. The command below shows the version being returned is v2.0.8, but based on the log I'd expect to see v2.1.1
What is expected?v2.1.1 Steps to Reproduce
RepositoryFixture TestNo response Output log or link to your CI build (if appropriate).No response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
First of all, the release of GitVersion version 6 contains major changes and might be not backwards compatible. Comparing a behavior with the preview version is not optimal. Have you thought about it that e.g. 2.1 is not a valid semantic version and will be ignored because of that? In the configuration.md you will find the following:
Happy Branching! Link[1]: https://gitversion.net/docs/reference/configuration |
Beta Was this translation helpful? Give feedback.
First of all, the release of GitVersion version 6 contains major changes and might be not backwards compatible. Comparing a behavior with the preview version is not optimal. Have you thought about it that e.g. 2.1 is not a valid semantic version and will be ignored because of that?
In the configuration.md you will find the following:
Happy Branching!
Link[1]: https://gitversion.net/docs/reference/configuration