forked from opencepk/opencepk-template-base
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.releaserc
34 lines (34 loc) · 1.2 KB
/
.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
33
34
{
"branches": [
"main"
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits",
"parserOpts": {
"noteKeywords": ["breaking/api:", "breaking/api", "BREAKING CHANGE:", "BREAKING CHANGE", "BREAKING CHANGES"],
"headerPattern": "^(feat|fix|build|breaking|chore|ci|docs|perf|refactor|revert)\\/(.+):?(.*)$",
"headerCorrespondence": ["type", "scope", "subject"]
},
"releaseRules": [
{"type": "feat", "release": "minor"},
{"type": "fix", "release": "patch"},
{"type": "build", "release": "minor"},
{"type": "breaking", "release": "major"},
{"type": "chore", "release": "minor"},
{"type": "ci", "release": "minor"},
{"type": "docs", "release": "minor"},
{"type": "perf", "release": "minor"},
{"type": "refactor", "release": "minor"},
{"type": "revert", "release": "patch"},
{"type": "style", "release": "minor"},
{"type": "test", "release": "minor"}
]
}
],
"@semantic-release/release-notes-generator",
"@semantic-release/github"
]
}