Skip to content

Commit f6885df

Browse files
committedJan 6, 2019
Build: Adjust release config
The commit-analyser did not use the new rules. Now using the plugins definition.
1 parent 07408bd commit f6885df

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed
 

Diff for: ‎.releaserc

+8-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
{
22
"branch": "master",
33
"tagFormat": "${version}",
4-
"analyzeCommits": {
5-
"preset": "eslint",
6-
"releaseRules": [
7-
{"type": "Upgrade", "release": "patch"}
8-
]
9-
},
104
"verifyConditions": [
115
{
126
"path": "@semantic-release/changelog",
@@ -30,5 +24,12 @@
3024
"commitsSort": ["subject", "scope"],
3125
}
3226
},
33-
"publish": ["@semantic-release/github", "@semantic-release/npm"]
27+
"publish": ["@semantic-release/github", "@semantic-release/npm"],
28+
"plugins": [
29+
["@semantic-release/commit-analyzer", {
30+
"preset": "eslint",
31+
"releaseRules": [
32+
{"type": "Upgrade", "release": "patch"}
33+
]
34+
]
3435
}

0 commit comments

Comments
 (0)
Please sign in to comment.