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
"Breaking Change" not triggering major release #139
Comments
I do have the same problem, patch and minor version are triggered correctly but major version is never updated when adding "BREAKING CHANGE" to commit message |
@AlexisMasseron Unlikely that you're have the same issue unless you're using a custom config. I suspect that you're not using the correct syntax instead. Take a look at the docs and check out my previous commit messages that correctly triggered a breaking change. |
This is due to the way we process rules. For each commit we evaluate evaluate each of your rules, and if we find one that match we use it. IF we don't find then we look at the default rules. Your commit is a In the default rules we have one (at the top) to match braking changes, but it's never evaluated as you have in your custom rule one that match your commit. This is explained in the documentation: https://github.com/semantic-release/commit-analyzer#releaserules To solve your problem you have to add |
Hello @pvdlg ! Thank you very much for the swift reply! It is as always very much appreciated! Fixed in blackflux/robo-config-plugin#478 Cheers, L~ |
@pvdlg Hi 👋 I think that's very unintuitive behavior. What about in detail describe this case in the readme? Actually, README.md at master for now contains |
I also can't get this to work. I'm not using a custom config and none of the following commit messages cause a major version bump.
|
@abohannon if you are not using a custom config, your issue is different from what was being asked in this closed issue. in the future, please open a new issue instead. are you trying to create your commits with only a subject? be sure to instead include the |
If you're using Angular preset don't forget to add a Colon : after the keyword BREAKING CHANGE to trigger major release:
|
Current behavior
Using the following
.releaserc.json
filebreaking changes seem to not trigger a major release. Not sure if this is a bug or a configuration issue, please advice.
Expected behavior
Expecting a major release
Environment
The text was updated successfully, but these errors were encountered: