Skip to content

Commit f376221

Browse files
committed
build: add release config for semantic release
1 parent 0e13784 commit f376221

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.releaserc.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"branch": "master",
3+
"analyzeCommits": {
4+
"preset": "angular",
5+
"releaseRules": [
6+
{"type": "build", "scope":"deps", "release": "minor"}
7+
]
8+
},
9+
"verifyConditions": [
10+
"@semantic-release/changelog",
11+
"@semantic-release/npm",
12+
"@semantic-release/git"
13+
],
14+
"generateNotes": {
15+
"preset": "metahub"
16+
},
17+
"prepare": [
18+
{
19+
"path": "@semantic-release/changelog",
20+
"changelogFile": "CHANGELOG.md"
21+
},
22+
{
23+
"path": "@semantic-release/git",
24+
"assets": ["CHANGELOG.md"]
25+
},
26+
"@semantic-release/npm"
27+
],
28+
"publish": [
29+
"@semantic-release/npm",
30+
"@semantic-release/github"
31+
],
32+
"success": ["@semantic-release/github"],
33+
"fail": ["@semantic-release/github"]
34+
}

0 commit comments

Comments
 (0)