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.
This commit is contained in:
Paul Gschwendtner
2016-12-13 02:12:00 +01:00
committed by Jeremy Elbourn
parent af33e2eef0
commit c1f7f826ca
+1 -1
View File
@@ -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