Skip to content

Commit 72f0a78

Browse files
committed
chore: update release script
1 parent e3f882b commit 72f0a78

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

package.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,17 @@
7272
},
7373
"release": {
7474
"plugins": [
75-
"@semantic-release/commit-analyzer",
75+
[
76+
"@semantic-release/commit-analyzer",
77+
{
78+
"releaseRules": [
79+
{
80+
"type": "/(feat|fix)/",
81+
"release": "patch"
82+
}
83+
]
84+
}
85+
],
7686
"@semantic-release/release-notes-generator",
7787
"@semantic-release/changelog",
7888
"@semantic-release/npm",

0 commit comments

Comments
 (0)