-
Notifications
You must be signed in to change notification settings - Fork 651
Sudden jump in version with 4.0.0-beta0014 #1468
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
Comments
You could try running gitversion.exe with the /diag switch - that should output some more details about the graph which you could paste in a gist, it might help us reason about how its calculating this version. |
Ah - it seems it comes down to:
We did indeed merge a branch called |
I'm not that familiar with the config myself yet. I don't usually have to delve into it :-) |
I'm not sure - but I'd like to keep that if possible. We do use it occassionally? |
@kierenj I think GitVersion has the ability to ignore certain SHA's that you think are interfering with version calculation. You could try that - should be mentioned in the docs, you add the SHA's to the config somewhere. |
:'( this still feels like a bug, anything we can do here? |
We're getting bit by this bug as well. We run a forked workflow in Github and one of the developers named their branch 'upgrade-to-package-xyz-4.3.0' which has now confused GitVersion beta 14, while beta 12 would ignore that branch name. |
@kierenj I have the same issue. We use dependabot and now I get strange version numbers. @dazinator this doesn't help: commit-message-incrementing: Disabled |
@asbjornu I think this issue is also about branch names. But not about a name of an existing branch, but a branch name reconstructed from a merge commit message: From #1468 (comment)
i.e. the faulty "1.1" does not result from a currently existing branch |
Since #1507 was closed as per #1507 (comment), I'm closing this as well. Please submit a new PR fixing this problem if it still exists. |
Hi - my config:
https://gist.github.com/kierenj/ccc4a3db7775f97554ef2c11543bca72
I have a freshly-created branch,
release/1.0.19
. GitVersion awards it1.1.0-rc.1+777.1
- whereas every time previously we've created a release branch (up to and includingrelease/1.0.18
), it's correctly done something like1.0.18-rc.1+333.1
.We're not using semver commit messages, and there aren't any tags.
What can I do to diagnose/does this make any sense?
The text was updated successfully, but these errors were encountered: