Skip to content

Commit f90c6fc

Browse files
authored
ci: update release config to include maintenance
1 parent 6f61499 commit f90c6fc

File tree

1 file changed

+57
-3
lines changed

1 file changed

+57
-3
lines changed

.releaserc.json

Lines changed: 57 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,61 @@
11
{
22
"plugins": [
3-
"@semantic-release/commit-analyzer",
4-
"@semantic-release/release-notes-generator",
3+
[
4+
"@semantic-release/commit-analyzer",
5+
{
6+
"releaseRules": [{ "type": "chore", "release": "patch" }]
7+
}
8+
],
9+
[
10+
"@semantic-release/release-notes-generator",
11+
{
12+
"preset": "conventionalcommits",
13+
"presetConfig": {
14+
"types": [
15+
{
16+
"type": "feat",
17+
"section": ":sparkles: New Features",
18+
"hidden": false
19+
},
20+
{
21+
"type": "fix",
22+
"section": ":bug: Bug Fixes",
23+
"hidden": false
24+
},
25+
{
26+
"type": "docs",
27+
"section": ":memo: Documentation",
28+
"hidden": true
29+
},
30+
{
31+
"type": "refactor",
32+
"section": ":zap: Refactor",
33+
"hidden": true
34+
},
35+
{
36+
"type": "perf",
37+
"section": ":fast_forward: Performance",
38+
"hidden": false
39+
},
40+
{
41+
"type": "test",
42+
"section": ":white_check_mark: Tests",
43+
"hidden": true
44+
},
45+
{
46+
"type": "ci",
47+
"section": ":repeat: CI",
48+
"hidden": true
49+
},
50+
{
51+
"type": "chore",
52+
"section": ":package: Maintenance",
53+
"hidden": false
54+
}
55+
]
56+
}
57+
}
58+
],
559
"@semantic-release/changelog",
660
"@semantic-release/github",
761
[
@@ -11,5 +65,5 @@
1165
}
1266
]
1367
],
14-
"branches": ["main"]
68+
"branches": ["main", "master"]
1569
}

0 commit comments

Comments
 (0)