-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
.releaserc.json
80 lines (80 loc) · 2.48 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits",
"releaseRules": [
{ "breaking": true, "release": "major" },
{ "type": "feat", "release": "minor" },
{ "type": "fix", "release": "patch" },
{ "type": "ui", "release": "patch" },
{ "type": "perf", "release": "patch" },
{ "type": "build", "release": "patch" },
{ "type": "revert", "release": "patch" },
{ "type": "docs", "release": false },
{ "type": "ci", "release": false },
{ "type": "chore", "release": false },
{ "type": "refactor", "release": false },
{ "type": "style", "release": false },
{ "type": "test", "release": false }
]
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{ "type": "feat", "section": "🚀 Features", "hidden": false },
{ "type": "fix", "section": "🐛 Bug fixes", "hidden": false },
{ "type": "ui", "section": "🎨 UI changes", "hidden": false },
{
"type": "perf",
"section": "⚡ Performance improvements",
"hidden": false
},
{ "type": "build", "section": "🛠️ Other Changes", "hidden": false },
{ "type": "revert", "section": "⏪ Reverts", "hidden": false },
{ "type": "docs", "section": "📝 Documentation", "hidden": false },
{ "type": "ci", "hidden": true },
{ "type": "chore", "hidden": true },
{
"type": "refactor",
"hidden": true
},
{ "type": "style", "hidden": true },
{ "type": "test", "hidden": true },
{
"type": "breaking",
"section": "❗ Breaking Changes",
"hidden": false
}
]
}
}
],
"@semantic-release/github",
[
"@semantic-release/exec",
{
"verifyReleaseCmd": "echo NEXT_VERSION_TAG=${nextRelease.version} >> $GITHUB_ENV"
}
],
[
"@saithodev/semantic-release-backmerge",
{
"backmergeBranches": [{ "from": "main", "to": "develop" }],
"message": "chore(release): backmerge [skip ci]"
}
]
],
"branches": [
"main",
{
"name": "develop",
"prerelease": "develop"
}
]
}