Skip to content

Commit

Permalink
fix: install semantic-release as a regular dev dependency (#3455)
Browse files Browse the repository at this point in the history
Also changed global executable to NPM script as global executable will not be available unless the package is installed globally (with `npm i -g`).
  • Loading branch information
devoto13 committed Apr 7, 2020
1 parent 0647109 commit 1eaf35e
Show file tree
Hide file tree
Showing 3 changed files with 10,759 additions and 5,137 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Expand Up @@ -49,6 +49,5 @@ after_success:
# run automated release process with semantic-release
- echo "TRAVIS_BRANCH=$TRAVIS_BRANCH, TRAVIS_EVENT_TYPE=$TRAVIS_EVENT_TYPE, TRAVIS_NODE_VERSION=$TRAVIS_NODE_VERSION"
- if [[ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_EVENT_TYPE" == "push" && "$TRAVIS_NODE_VERSION" == "12" ]]; then
npm i --no-save semantic-release@15 @semantic-release/changelog@3 @semantic-release/git@7;
semantic-release;
fi;
npm run semantic-release;
fi;

0 comments on commit 1eaf35e

Please sign in to comment.