Skip to content

Commit c1f7f82

Browse files
devversionjelbourn
authored andcommitted
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.
1 parent af33e2e commit c1f7f82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/ci/after-success.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ cd $(dirname $0)/../..
99
npmBin=$(npm bin)
1010
ciResult=$($npmBin/travis-after-modes)
1111

12-
if [ "$ciResult" = "PASSED" ] && [ -z "$TRAVIS_PULL_REQUEST" ]; then
12+
if [ "$ciResult" = "PASSED" ] && [ "$TRAVIS_PULL_REQUEST" = "false" ]; then
1313
echo "All travis modes passed. Publishing the build artifacts..."
1414
./scripts/release/publish-build-artifacts.sh
1515
fi

0 commit comments

Comments
 (0)