Skip to content

Commit

Permalink
fix(ci): echo travis env that gates release after_success (#3446)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnjbarton committed Mar 18, 2020
1 parent 33a069f commit b8b2ed8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -47,6 +47,7 @@ script:

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;
Expand Down

0 comments on commit b8b2ed8

Please sign in to comment.