Skip to content

Commit 1c79a8b

Browse files
committed
chore(release): use conventional commits plugin
The default (angular) does not support the `<type>!:` syntax for breaking changes NOTE: it's important to use it in both the commit analyzer and release notes generator. That latter is needed for the generated release notes to call out the breaking changes.
1 parent f4c828e commit 1c79a8b

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
- uses: cycjimmy/semantic-release-action@v4
1919
with:
2020
extra_plugins: |
21+
conventional-changelog-conventionalcommits
2122
@semantic-release/exec
2223
semantic-release-major-tag
2324
env:

.releaserc.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
plugins:
2-
- "@semantic-release/commit-analyzer"
3-
- "@semantic-release/release-notes-generator"
2+
- - "@semantic-release/commit-analyzer"
3+
- preset: "conventionalcommits"
4+
- - "@semantic-release/release-notes-generator"
5+
- preset: "conventionalcommits"
46
- - "@semantic-release/github"
57
- successCommentCondition: false
68

0 commit comments

Comments
 (0)