-
Notifications
You must be signed in to change notification settings - Fork 652
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] - GitVersion.yml - ignore part ignored #2412
Comments
I don't know, but this may be a bug in
Are you experiencing that GitVersion is actually not ignoring the specified commit when calculating the version number? |
I just checked. Ignore specific sha is not working for me even on older versions. Older versions show at least correct You can see bellow, that I put sha of my last commit to ignore section, but version numbers are computed based on this commit. FYI: I'm using gitversion for the first time.
|
Can confirm this happens with 5.3.7 dotnet global tool. I have specified both a date, and individual commit hashes. A certain merge still shows up as a version source when running with |
This bug was introduced in 5.3.6. With this in GitVersion.yml:
The result when running 5.3.6:
In 5.3.5:
|
Thanks for making that discovery, @sdybvik! We'll have to dig through the commit log find the problematic commit then. |
Yes. Fixes also #2354. |
🎉 This issue has been resolved in version 5.5.0 🎉 Your GitReleaseManager bot 📦🚀 |
Gitversion does not take ignore part of GitVersion.yml into account.
Expected Behavior
We should be able to see ignore settings of GitVersion.yml by running command
gitversion /showconfig
Actual Behavior
gitversion /showconfig
shows default values for ignore section in GitVersion 5.3.7. (I tested on 5.0.1 and everything was OK)Steps to Reproduce
contains:
but should contain:
Your Environment
The text was updated successfully, but these errors were encountered: