Skip to content

Commit 1eaf35e

Browse files
authoredApr 7, 2020
fix: install semantic-release as a regular dev dependency (#3455)
Also changed global executable to NPM script as global executable will not be available unless the package is installed globally (with `npm i -g`).
1 parent 0647109 commit 1eaf35e

File tree

3 files changed

+10759
-5137
lines changed

3 files changed

+10759
-5137
lines changed
 

‎.travis.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,5 @@ after_success:
4949
# run automated release process with semantic-release
5050
- echo "TRAVIS_BRANCH=$TRAVIS_BRANCH, TRAVIS_EVENT_TYPE=$TRAVIS_EVENT_TYPE, TRAVIS_NODE_VERSION=$TRAVIS_NODE_VERSION"
5151
- if [[ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_EVENT_TYPE" == "push" && "$TRAVIS_NODE_VERSION" == "12" ]]; then
52-
npm i --no-save semantic-release@15 @semantic-release/changelog@3 @semantic-release/git@7;
53-
semantic-release;
54-
fi;
52+
npm run semantic-release;
53+
fi;

0 commit comments

Comments
 (0)
Please sign in to comment.