ci: ensure build-packages-dist works on OS/X bash (#25591)

PR Close #25591
This commit is contained in:
Pete Bacon Darwin 2018-08-17 22:00:27 +01:00 committed by Misko Hevery
parent abd29f5049
commit e84da1981d
1 changed files with 3 additions and 3 deletions

View File

@ -56,9 +56,9 @@ buildTargetPackages "$LEGACY_TARGETS" "dist/packages-dist" "legacy" "Production"
# snapshots.
# This logic matches what we use in the .circleci/config.yml file to short-
# circuit execution of the publish-packages job.
[[ -v CIRCLE_PR_NUMBER
|| "$CIRCLE_PROJECT_USERNAME" != "angular"
|| "$CIRCLE_PROJECT_REPONAME" != "angular"
[[ "${CIRCLE_PR_NUMBER-}" != ""
|| "${CIRCLE_PROJECT_USERNAME-}" != "angular"
|| "${CIRCLE_PROJECT_REPONAME-}" != "angular"
]] && exit 0
IVY_JIT_TARGETS=`bazel query --output=label 'attr("tags", "\[.*ivy-jit.*\]", //packages/...) intersect kind(".*_package", //packages/...)'`