-
Notifications
You must be signed in to change notification settings - Fork 2
/
.releaserc.yaml
38 lines (38 loc) · 1.34 KB
/
.releaserc.yaml
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
35
36
37
38
{
# docs: https://semantic-release.gitbook.io/semantic-release/usage/workflow-configuration#branch-types
"branches": [
{name: "main" },
{name: "develop", channel: "alpha", prerelease: "alpha"}
],
"plugins": [
["@semantic-release/commit-analyzer",{
# docs: https://github.com/semantic-release/commit-analyzer/blob/master/lib/default-release-rules.js
"parserOpts": {
"noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES", "BREAKING"]
},
"preset": "conventionalcommits",
"presetConfig": [ ],
"releaseRules": [
{"type": "revert", "subject": "!(feat|fix|perf)", "release": false},
{"type": "revert", "subject": "(build|chore|ci|docs|refactor|revert|style|test)", "release": false}
]
}],
["@semantic-release/release-notes-generator",{
"parserOpts": {
"noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES", "BREAKING"]},
"preset": "conventionalcommits",
"presetConfig": [ ],
"releaseRules": [
{"type": "revert", "subject": "!(feat|fix|perf)", "release": false},
{"type": "revert", "subject": "(build|chore|ci|docs|refactor|revert|style|test)", "release": false}
]
}],
['@semantic-release/github',
{
"assets": [
{"path": "bin/release/net5.0-windows/win-x86/publish"}
]
}
]
]
}