Skip to content

Commit 0e5dc3a

Browse files
add releaserc
1 parent f61050d commit 0e5dc3a

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

.releaserc

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
"branches": [
3+
"main"
4+
],
5+
"tagFormat": "v${version}",
6+
"plugins": [
7+
[
8+
"@semantic-release/commit-analyzer",
9+
{
10+
"preset": "conventionalcommits",
11+
"releaseRules": [
12+
{
13+
"type": "build",
14+
"scope": "deps",
15+
"release": "patch"
16+
}
17+
]
18+
}
19+
],
20+
[
21+
"@semantic-release/release-notes-generator",
22+
{
23+
"preset": "conventionalcommits",
24+
"presetConfig": {
25+
"types": [
26+
{
27+
"type": "feat",
28+
"section": "Features"
29+
},
30+
{
31+
"type": "fix",
32+
"section": "Bug Fixes"
33+
},
34+
{
35+
"type": "build",
36+
"section": "Dependencies and Other Build Updates",
37+
"hidden": false
38+
}
39+
]
40+
}
41+
}
42+
],
43+
"@semantic-release/github"
44+
]
45+
}

0 commit comments

Comments
 (0)