Skip to content

Commit b34078a

Browse files
committed
fix: update changelog sections in release-please-config
There are two changes made to the release-please config: (1) all change types will be show where many where hidden before (2) the change types that were hidden before are grouped into a section called "Other Changes" Also the supported conventions commit change types rae explicitly listed in the commitlintrc.yml so we can ensure that they align with the release-please configuration.
1 parent 6dc79dd commit b34078a

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed

.commitlintrc.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,20 @@ rules:
1414
#
1515
body-leading-blank: [2, 'always']
1616
footer-leading-blank: [2, 'always']
17+
type-enum: [
18+
2,
19+
'always',
20+
[
21+
'build',
22+
'ci',
23+
'chore',
24+
'docs',
25+
'feat',
26+
'fix',
27+
'perf',
28+
'refactor',
29+
'revert',
30+
'style',
31+
'test'
32+
]
33+
]

release-please-config.json

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,20 @@
1111
"draft": true,
1212
"prerelease": false,
1313
"include-component-in-tag": false,
14-
"pull-request-title-pattern": "chore: release v${version}"
14+
"pull-request-title-pattern": "chore: release v${version}",
15+
"changelog-sections": [
16+
{ "type": "feat", "section": "Features", "hidden": false },
17+
{ "type": "fix", "section": "Bug Fixes", "hidden": false },
18+
{ "type": "build", "section": "Other Changes", "hidden": false },
19+
{ "type": "chore", "section": "Other Changes", "hidden": false },
20+
{ "type": "ci", "section": "Other Changes", "hidden": false }
21+
{ "type": "docs", "section": "Other Changes", "hidden": false },
22+
{ "type": "perf", "section": "Other Changes", "hidden": false },
23+
{ "type": "refactor", "section": "Other Changes", "hidden": false },
24+
{ "type": "revert", "section": "Other Changes", "hidden": false },
25+
{ "type": "style", "section": "Other Changes", "hidden": false },
26+
{ "type": "test", "section": "Other Changes", "hidden": false },
27+
]
1528
}
1629
},
1730
"plugins": [

0 commit comments

Comments
 (0)