diff --git a/scripts/ci/after-success.sh b/scripts/ci/after-success.sh index e1691eeff4d..b957973721a 100755 --- a/scripts/ci/after-success.sh +++ b/scripts/ci/after-success.sh @@ -9,7 +9,7 @@ cd $(dirname $0)/../.. npmBin=$(npm bin) ciResult=$($npmBin/travis-after-modes) -if [ "$ciResult" = "PASSED" ] && [ -z "$TRAVIS_PULL_REQUEST" ]; then +if [ "$ciResult" = "PASSED" ] && [ "$TRAVIS_PULL_REQUEST" = "false" ]; then echo "All travis modes passed. Publishing the build artifacts..." ./scripts/release/publish-build-artifacts.sh fi \ No newline at end of file