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

Use conventionalcommits preset with @semantic-release/commit-analyzer #208

Open
andylolz opened this issue Feb 23, 2024 · 0 comments · May be fixed by #209
Open

Use conventionalcommits preset with @semantic-release/commit-analyzer #208

andylolz opened this issue Feb 23, 2024 · 0 comments · May be fixed by #209

Comments

@andylolz
Copy link

release-notes-generator uses conventionalcommits preset, but commit-analyzer doesn’t. This means changelogs and releases can end up out of sync.

For example, the following commit:

git commit -m 'feat!: do a major release'

…will generate a changelog like this:

### ⚠ BREAKING CHANGES

* do a major release

### Features

* do a major release

…but the commit-analyzer output is:

Analyzing commit: feat!: do a major release
The commit should not trigger a release

The expected output is:

Analyzing commit: feat!: do a major release
The release type for the commit is major
@andylolz andylolz linked a pull request Feb 23, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant