Skip to content

Commit ed6940a

Browse files
Build: Fix braket nesting in release config
1 parent 3262e31 commit ed6940a

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

.releaserc

+14-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
{
22
"branch": "master",
33
"tagFormat": "${version}",
4+
"analyzeCommits": {
5+
"preset": "eslint",
6+
"releaseRules": [
7+
{"type": "Upgrade", "release": "patch"}
8+
]
9+
},
410
"verifyConditions": [
511
{
612
"path": "@semantic-release/changelog",
@@ -27,9 +33,12 @@
2733
"publish": ["@semantic-release/github", "@semantic-release/npm"],
2834
"plugins": [
2935
["@semantic-release/commit-analyzer", {
30-
"preset": "eslint",
31-
"releaseRules": [
32-
{"type": "Upgrade", "release": "patch"}
33-
]
34-
],
36+
"preset": "angular",
37+
"releaseRules": [
38+
{"type": "docs", "scope":"README", "release": "patch"},
39+
{"type": "refactor", "release": "patch"},
40+
{"type": "style", "release": "patch"}
41+
],
42+
}],
43+
]
3544
}

0 commit comments

Comments
 (0)