mathieudutour / github-tag-action

A Github Action to automatically bump and tag master, on merge, with the latest SemVer formatted version. Works on any platform.
https://github.com/marketplace/actions/github-tag
MIT License
624 stars 195 forks source link

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

Open andylolz opened 6 months ago

andylolz commented 6 months ago

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