-
Notifications
You must be signed in to change notification settings - Fork 653
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] the presence of an outdated next-version
configuration breaks the version resolution
#2670
Comments
Aha! I've been trying to track down a tricky versioning issue for months; and it seems like this may well be the culprit. |
I'm also getting this issue with Edit: I can confirm that 5.3.7 works as expected and that the bug started with 5.5.0 My config
Expecting a patch version higher than 11. Some output
|
@DavidDeSloovere, are you sure you're not experiencing #2441? If you are, please remove |
Yes. Looks very much like it. Thanks for figuring that out. What if the way forward to set the "next version" then? Using commit messages? |
@DavidDeSloovere, |
I may have miscommunicated. I don't have the need to set the next-version every time. It's only used when I want to bump major or minor. But never for patch. |
@DavidDeSloovere, when you want to bump major or minor, do you use |
Closing as answered. Please reopen if you have more questions. |
Describe the bug
See discussion here : #2660
With this dummy git repo :
The following config resolves (incorrectly) to
1.2.3
:whereas this config resolves (correctly) to
1.2.4
:Expected Behavior
GitVersion should resolve to
1.2.4
with both configurationsActual Behavior
The first config resolves (incorrectly) to
1.2.3
Possible Fix (Workaround)
Removing the
next-version
configuration to achieve the expected behavior.Context
See discussion : #2660
Your Environment
GitVersion 5.6.8
Windows 10
The text was updated successfully, but these errors were encountered: