Skip to content

Commit

Permalink
fix: install semantic-release as a regular dev dependency (karma-runn…
Browse files Browse the repository at this point in the history
…er#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`).
  • Loading branch information
devoto13 authored 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
Original file line number Diff line number Diff line change
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;
Loading

0 comments on commit 1eaf35e

Please sign in to comment.