-
Notifications
You must be signed in to change notification settings - Fork 43
/
.releaserc.json
58 lines (58 loc) · 1.87 KB
/
.releaserc.json
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"branches": [
"main",
{
"name": "develop",
"channel": "beta",
"prerelease": true
},
{
"name": "release/2.x",
"range": "2.x",
"channel": "2.x"
},
{
"name": "release/1.x",
"range": "1.x",
"channel": "1.x"
},
{
"name": "release/0.6.x",
"range": "0.6.x",
"channel": "0.6.x"
}
],
"tagFormat": "v${version}",
"ci": true,
"preset": "conventionalcommits",
"plugins": [
[ "@semantic-release/commit-analyzer",
{
"releaseRules": [
{ "breaking": true, "release": "major" },
{ "type": "feat", "release": "minor" },
{ "type": "fix", "release": "patch" },
{ "type": "perf", "release": "patch" },
{ "type": "build", "release": "patch" },
{ "scope": "security", "release": "patch" },
{ "type": "chore", "release": false },
{ "type": "ci", "release": false },
{ "type": "docs", "release": false },
{ "type": "refactor", "release": false },
{ "type": "revert", "release": false },
{ "type": "style", "release": false },
{ "type": "test", "release": false },
{ "scope": "no-release", "release": false },
{ "scope": "release", "release": "patch" }
],
"presetConfig": true
}
],
[ "@semantic-release/git",
{
"assets": [ "package.json" ],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
]
}