Skip to content

Commit 2f19c96

Browse files
authored
fix: fix semantic-release configuration (#577)
1 parent cfb19c6 commit 2f19c96

File tree

2 files changed

+168
-172
lines changed

2 files changed

+168
-172
lines changed

.releaserc.json

Lines changed: 80 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -1,120 +1,118 @@
11
{
2-
"release": {
3-
"plugins": [
4-
[
5-
"@semantic-release/commit-analyzer",
6-
{
7-
"releaseRules": [
8-
{
9-
"breaking": true,
10-
"release": "major"
11-
},
2+
"plugins": [
3+
[
4+
"@semantic-release/commit-analyzer",
5+
{
6+
"releaseRules": [
7+
{
8+
"breaking": true,
9+
"release": "major"
10+
},
11+
{
12+
"type": "build",
13+
"release": false
14+
},
15+
{
16+
"type": "chore",
17+
"release": false
18+
},
19+
{
20+
"type": "ci",
21+
"release": false
22+
},
23+
{
24+
"type": "docs",
25+
"release": false
26+
},
27+
{
28+
"type": "feat",
29+
"release": "minor"
30+
},
31+
{
32+
"type": "fix",
33+
"release": "patch"
34+
},
35+
{
36+
"type": "perf",
37+
"release": "patch"
38+
},
39+
{
40+
"type": "refactor",
41+
"release": "patch"
42+
},
43+
{
44+
"type": "revert",
45+
"release": "patch"
46+
},
47+
{
48+
"type": "style",
49+
"release": false
50+
},
51+
{
52+
"type": "test",
53+
"release": false
54+
},
55+
{
56+
"scope": "*no-release*",
57+
"release": false
58+
}
59+
]
60+
}
61+
],
62+
[
63+
"@semantic-release/release-notes-generator",
64+
{
65+
"presetConfig": {
66+
"types": [
1267
{
1368
"type": "build",
14-
"release": false
69+
"section": "Build"
1570
},
1671
{
1772
"type": "chore",
18-
"release": false
73+
"section": "Chores"
1974
},
2075
{
2176
"type": "ci",
22-
"release": false
77+
"section": "Continuous Integration"
2378
},
2479
{
2580
"type": "docs",
26-
"release": false
81+
"section": "Documentation"
2782
},
2883
{
2984
"type": "feat",
30-
"release": "minor"
85+
"section": "Features"
3186
},
3287
{
3388
"type": "fix",
34-
"release": "patch"
89+
"section": "Bug Fixes"
3590
},
3691
{
3792
"type": "perf",
38-
"release": "patch"
93+
"section": "Performance"
3994
},
4095
{
4196
"type": "refactor",
42-
"release": "patch"
97+
"section": "Refactor"
4398
},
4499
{
45100
"type": "revert",
46-
"release": "patch"
101+
"section": "Reverts"
47102
},
48103
{
49104
"type": "style",
50-
"release": false
105+
"section": "Styles"
51106
},
52107
{
53108
"type": "test",
54-
"release": false
55-
},
56-
{
57-
"scope": "*no-release*",
58-
"release": false
109+
"section": "Tests"
59110
}
60111
]
61112
}
62-
],
63-
[
64-
"@semantic-release/release-notes-generator",
65-
{
66-
"presetConfig": {
67-
"types": [
68-
{
69-
"type": "build",
70-
"section": "Build"
71-
},
72-
{
73-
"type": "chore",
74-
"section": "Chores"
75-
},
76-
{
77-
"type": "ci",
78-
"section": "Continuous Integration"
79-
},
80-
{
81-
"type": "docs",
82-
"section": "Documentation"
83-
},
84-
{
85-
"type": "feat",
86-
"section": "Features"
87-
},
88-
{
89-
"type": "fix",
90-
"section": "Bug Fixes"
91-
},
92-
{
93-
"type": "perf",
94-
"section": "Performance"
95-
},
96-
{
97-
"type": "refactor",
98-
"section": "Refactor"
99-
},
100-
{
101-
"type": "revert",
102-
"section": "Reverts"
103-
},
104-
{
105-
"type": "style",
106-
"section": "Styles"
107-
},
108-
{
109-
"type": "test",
110-
"section": "Tests"
111-
}
112-
]
113-
}
114-
}
115-
],
116-
"@semantic-release/github"
113+
}
117114
],
118-
"preset": "conventionalcommits"
119-
}
115+
"@semantic-release/github"
116+
],
117+
"preset": "conventionalcommits"
120118
}

0 commit comments

Comments
 (0)