Skip to content

Commit 765e647

Browse files
committed
[autoSync] CI: support semantic release
1 parent 71ff06c commit 765e647

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

.releaserc.json

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
"branches": [
3+
"main",
4+
"master"
5+
],
6+
"plugins": [
7+
[
8+
"@semantic-release/commit-analyzer",
9+
{
10+
"preset": "conventionalcommits",
11+
"releaseRules": [
12+
{
13+
"type": "docs",
14+
"release": "patch"
15+
}
16+
]
17+
}
18+
],
19+
[
20+
"@semantic-release/release-notes-generator",
21+
{
22+
"preset": "conventionalcommits"
23+
}
24+
],
25+
[
26+
"@semantic-release/github",
27+
{
28+
"successComment": false,
29+
"labels": false,
30+
"releasedLabels": false
31+
}
32+
],
33+
[
34+
"@semantic-release/changelog",
35+
{
36+
"changelogFile": "CHANGELOG.md"
37+
}
38+
],
39+
[
40+
"@semantic-release/git",
41+
{
42+
"assets": [
43+
"CHANGELOG.md"
44+
],
45+
"message": "chore(release): CHANGELOG v${nextRelease.version}"
46+
}
47+
]
48+
]
49+
}

0 commit comments

Comments
 (0)