-
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
no-bump-message should take precedence over *-version-bump-message #3172
Comments
I'm not sure the precedence |
Mainly intuition to be honest. I just thought that would be the behavior. ReasoningWhat is expected when enabling
Scenario 2 is the current behavior. In my opinion, it seems strange that the normal behavior would be to provide messages matching |
As I'm not a user of |
I'm enforcing the usage of conventional commits. Examples:
To answer your question: using this, all commits across all branches match Now in some cases, I would like to be able to specify no increment (because not all code in the repository is for the actual product). Here are some examples.
Let me know if you'd like more details! 😀 |
Have you read the section on conventional commits in the documentation? |
Yes! That's what I used to create my config. |
Right. Thanks for providing the examples, that clears things up. When combining conventional commits with |
Thanks! 🚀 |
🎉 This issue has been resolved in version 6.0.0 🎉 Your GitReleaseManager bot 📦🚀 |
Detailed Description
It seems like when both
no-bump-message
and*-version-bump-message
are matched, the version bump wins.Is that the intended behavior?
Context
I configured the
*-version-bump-message
to follow conventional commits.I would like that if I add
+semver: skip
to a conventional commit, the version isn't incremented.Basically, the following commit currently increments the version and that's not what I want.
Here's my config:
Workaround
Although this isn't a perfect solution, we've decided that the "ci" conventional commit type would not bump the version.
We've changed our configuration as such:
The text was updated successfully, but these errors were encountered: