build: use CI-provider independent variable names (#26377)

PR Close #26377
This commit is contained in:
George Kalpakas
2018-10-17 19:19:15 +03:00
committed by Alex Rickabaugh
parent 8fff438767
commit 9d0a6554a3
10 changed files with 121 additions and 96 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.
[[ "${CIRCLE_PR_NUMBER-}" != ""
|| "${CIRCLE_PROJECT_USERNAME-}" != "angular"
|| "${CIRCLE_PROJECT_REPONAME-}" != "angular"
[[ "${CI_PULL_REQUEST-}" != "false"
|| "${CI_REPO_OWNER-}" != "angular"
|| "${CI_REPO_NAME-}" != "angular"
]] && exit 0
IVY_JIT_TARGETS=`bazel query --output=label 'attr("tags", "\[.*ivy-jit.*\]", //packages/...) intersect kind(".*_package", //packages/...)'`