diff --git a/.travis.yml b/.travis.yml index 26c12ce6..3b6e236d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,7 @@ script: - yarn build after_success: - - if [[ $TRAVIS_BRANCH == "master" && $TRAVIS_COMMIT_MESSAGE != *"chore(release)"* ]]; then + - if [[ $TRAVIS_BRANCH == "master" && $TRAVIS_PULL_REQUEST == "false" && $TRAVIS_COMMIT_MESSAGE != *"chore(release)"* ]]; then yarn release; if [[ $TRAVIS_COMMIT_MESSAGE != *"chore(release)"* ]]; then