mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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:
committed by
Jeremy Elbourn
parent
af33e2eef0
commit
c1f7f826ca
@@ -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
|
||||
Reference in New Issue
Block a user