Skip to content

Commit c02c3b3

Browse files
committed
chore: fix semantic release
1 parent fdd87c1 commit c02c3b3

File tree

2 files changed

+20
-9
lines changed

2 files changed

+20
-9
lines changed

.releaserc

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,21 @@
11
{
22
"branch": "master",
3-
"verifyConditions": [],
4-
"@semantic-release/git",
5-
"prepare": [
6-
{
7-
"path": "@semantic-release/exec",
8-
"cmd": "bumpversion --current-version ${lastRelease.version} --new-version ${nextRelease.version} --verbose patch"
9-
}
10-
],
11-
"publish": ["@semantic-release/github"]
3+
"debug": "true",
4+
"verifyConditions": ["@semantic-release/git"],
5+
"plugins": [
6+
"@semantic-release/commit-analyzer",
7+
[
8+
"@semantic-release/exec",
9+
{
10+
"prepareCmd": "bumpversion --allow-dirty --current-version ${lastRelease.version} --new-version ${nextRelease.version} patch"
11+
}
12+
],
13+
[
14+
"@semantic-release/git",
15+
{
16+
"message": "chore(release): ${nextRelease.version} release notes\n\n${nextRelease.notes}"
17+
}
18+
],
19+
"@semantic-release/github"
20+
]
1221
}

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ install:
2121
- npm install -g semantic-release
2222
- npm install -g @semantic-release/exec
2323
- npm install -g @semantic-release/git
24+
- npm install -g @semantic-release/github
25+
- npm install -g @semantic-release/commit-analyzer
2426
- bundle _1.16.3_ install
2527
script:
2628
- bundle exec rake

0 commit comments

Comments
 (0)