Skip to content

Commit 1b39f22

Browse files
committed
fix: update release config
1 parent f77c547 commit 1b39f22

File tree

1 file changed

+25
-3
lines changed

1 file changed

+25
-3
lines changed

.releaserc.json

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,39 @@
44
[
55
"@semantic-release/commit-analyzer",
66
{
7+
"preset": "angular",
78
"releaseRules": [
9+
{ "type": "feat", "release": "minor" },
10+
{ "type": "fix", "release": "patch" },
11+
{ "type": "chore", "release": "patch" },
12+
{ "type": "refactor", "release": "patch" },
13+
{ "type": "docs", "release": "patch" },
14+
{ "type": "style", "release": "patch" },
15+
{ "type": "test", "release": "patch" },
16+
{ "type": "build", "release": "patch" },
817
{ "type": "*", "release": "patch" }
918
]
1019
}
1120
],
1221
"@semantic-release/release-notes-generator",
1322
"@semantic-release/changelog",
14-
"@semantic-release/npm",
15-
"@semantic-release/github"
23+
[
24+
"@semantic-release/npm",
25+
{
26+
"npmPublish": true,
27+
"tarballDir": "dist"
28+
}
29+
],
30+
[
31+
"@semantic-release/github",
32+
{
33+
"assets": [
34+
"dist/*.tgz"
35+
]
36+
}
37+
]
1638
],
1739
"release": {
1840
"initialVersion": "0.0.1"
1941
}
20-
}
42+
}

0 commit comments

Comments
 (0)