Skip to content
Snippets Groups Projects
Commit d62a0eca authored by Ryan Smith's avatar Ryan Smith
Browse files

ci(travis): Ensures semantic-release does not run for PRs.

parent 914024ff
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,7 @@ script:
- cd $TRAVIS_BUILD_DIR
after_success:
- if [[ "$TRAVIS_BRANCH" == "master" ]]; then
- if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
git fetch --tags;
npm i semantic-release;
npm i last-release-git;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment