-
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
Manually incrementing the version #2917
Comments
Have you tried |
Hi @asbjornu, unfortunately it doesn't even work in mainline mode,but it should also work in ContinuousDeployment mode, at least so it is specified in the doc. |
Sounds like this should be possible to reproduce in a test. Could you please create one in a PR? |
What exactly do you mean by creating a test in the Pull Request? |
Something like this: GitVersion/src/GitVersion.Core.Tests/IntegrationTests/MainlineDevelopmentMode.cs Lines 34 to 98 in c0b1509
|
I created the test, the first increment works, the second doesn't and the test fails. |
Hi @asbjornu are there any updates about it? Thanks |
I haven't investigated what the difference between your submitted (failing) test and the existing (successful) test. But you can see that your use-case should be working in the following test: GitVersion/src/GitVersion.Core.Tests/IntegrationTests/MainlineDevelopmentMode.cs Lines 433 to 437 in 26ee631
|
Hi @asbjornu in my test case I have two consecutive increments, the first increment passes the test, the second does not because the patch remains the same:
Is there any reason why I can't do this? |
I see. No, I don't see a good reason why this shouldn't be possible. Pull requests are welcome. |
I think this issue is related to #3097. I saw the following comment from orionstudt:
|
I think this is not a bug and the actual behavior is intentional. |
🎉 This issue has been resolved in version 6.0.0-beta.2 🎉 Your GitReleaseManager bot 📦🚀 |
Hello to all,
I'm trying to manually update the patch version with a commit message like this:
_ "New class added. + Semver: patch" _
i am using ContinuousDeployment mode, this is the default configuration file:
and this is my GitVersion.yml file:
but this doesn't work. I have installed gitversion.tool version '5.7.0'.
Thanks
The text was updated successfully, but these errors were encountered: