-
Notifications
You must be signed in to change notification settings - Fork 9
/
.releaserc
32 lines (32 loc) · 905 Bytes
/
.releaserc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
"verifyConditions": ["@semantic-release/changelog", "@semantic-release/git", "@semantic-release/github"],
"getLastRelease": ["@semantic-release/git"],
"analyzeCommits": {
"preset": "angular",
"releaseRules": [
{"type": "docs", "scope":"readme", "release": "patch"},
{"type": "refactor", "release": "patch"}
],
"parserOpts": {
"noteKeywords": ["BREAKING CHANGE:"]
}
},
"generateNotes": {
"preset": "angular",
"parserOpts": {
"noteKeywords": ["BREAKING CHANGE:"]
},
"writerOpts": {
"commitsSort": ["subject", "scope"]
}
},
"prepare": [
"@semantic-release/changelog",
{
"path": "@semantic-release/git",
"assets": ["CHANGELOG.md"],
"message": "ci(release): update changelog [skip ci]"
}
],
"publish": ["@semantic-release/npm", "@semantic-release/github"]
}