Skip to content
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

cannot generate major release #2458

Open
jamesRUS52 opened this issue Jun 8, 2022 · 1 comment
Open

cannot generate major release #2458

jamesRUS52 opened this issue Jun 8, 2022 · 1 comment

Comments

@jamesRUS52
Copy link

I made a commit with message

feat: qwe
    
body
    
BREAKING CHANGE: footer

but major release not generated. It make a minor release, but Breaking changes section is present in release notes
How should I change the commit message to generate major release ?

@hobbitronics
Copy link

Something is either broken or there is missing documentation, but here's the fix:

    '@semantic-release/commit-analyzer',
    {
      preset: 'conventionalcommits',
      releaseRules: [
        { breaking: true, release: 'major' },
        {

just add that to your config and should work with that commit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants