Skip to content

Commit b264114

Browse files
committed
ci(semantic-release): fixed the cli command
this change was required by the latest release
1 parent eb87693 commit b264114

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.travis.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ notifications:
33
email: false
44
after_install: npm ls >/dev/null
55
before_script: npm run greenkeeper:update-lockfile
6-
after_script: npm run greenkeeper:upload-lockfile
7-
after_success:
8-
- npm run coverage:report
6+
script:
7+
- npm test
98
- npm run semantic-release
9+
after_script: npm run greenkeeper:upload-lockfile
10+
after_success: npm run coverage:report
1011
branches:
1112
except:
1213
- "/^v\\d+\\.\\d+\\.\\d+$/"

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"commitmsg": "validate-commit-msg",
2323
"precommit": "npm test",
2424
"presemantic-release": "npm run build",
25-
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
25+
"semantic-release": "semantic-release",
2626
"greenkeeper:update-lockfile": "greenkeeper-lockfile-update",
2727
"greenkeeper:upload-lockfile": "greenkeeper-lockfile-upload"
2828
},

0 commit comments

Comments
 (0)