-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.releaserc
32 lines (32 loc) · 1.15 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
{
"branches": ["+([0-9])?(.{+([0-9]),x}).x", "main", "next", "next-major", {"name": "beta", "prerelease": true}, {"name": "alpha", "prerelease": true}],
"plugins": [
["@semantic-release/commit-analyzer", {
"preset": "conventionalcommits",
"releaseRules": [
{ "type": "chore", "release": "patch" }
]
}],
["@semantic-release/release-notes-generator", {
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{ "type": "feat", "section": "Features" },
{ "type": "fix", "section": "Bug Fixes" },
{ "type": "chore", "hidden": true, "section": "Chore" },
{ "type": "docs", "section": "Documentations" },
{ "type": "style", "hidden": true },
{ "type": "refactor","hidden": true, "section": "Refactor" },
{ "type": "perf", "section": "Performances" },
{ "type": "test", "hidden": true, "section": "Tests" }
]
}
}],
"@semantic-release/changelog",
"@semantic-release/npm",
["@semantic-release/git", {
"message": "chore(release): ${nextRelease.version}"
}],
"@semantic-release/github"
]
}