From c1f7f826ca519a0f4320e3a7f62f83f011160137 Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Tue, 13 Dec 2016 02:12:00 +0100 Subject: [PATCH] chore: fix invalid check for travis pull request (#2154) The recently added script for the per-commit publishing is not properly checking for the environment variable. This means that the per-commit packages can be not created yet. --- scripts/ci/after-success.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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