Skip to content

Commit 4c77115

Browse files
authored
更新 .releaserc.json
1 parent c9e4ed6 commit 4c77115

File tree

1 file changed

+1
-18
lines changed

1 file changed

+1
-18
lines changed

.releaserc.json

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -11,26 +11,9 @@
1111
],
1212
"plugins": [
1313
["@semantic-release/commit-analyzer", {
14-
"preset": "angular",
15-
"releaseRules": [
16-
{"type": "feat", "release": "minor"},
17-
{"type": "fix", "release": "patch"},
18-
{"type": "docs", "release": "patch"},
19-
{"type": "perf", "release": "patch"},
20-
{"type": "refactor", "release": "patch"}
21-
]
14+
"preset": "angular"
2215
}],
2316
"@semantic-release/release-notes-generator",
24-
["@semantic-release/changelog", {
25-
"changelogFile": "CHANGELOG.md"
26-
}],
27-
["@semantic-release/exec", {
28-
"prepareCmd": "echo ${nextRelease.version} > version.txt"
29-
}],
30-
["@semantic-release/git", {
31-
"assets": ["CHANGELOG.md", "version.txt"],
32-
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
33-
}],
3417
["@semantic-release/github", {
3518
"successComment": ":tada: This release is now available as ${nextRelease.version}"
3619
}]

0 commit comments

Comments
 (0)