build: use CI-provider independent variable names (#26377)
PR Close #26377
This commit is contained in:

committed by
Alex Rickabaugh

parent
8fff438767
commit
9d0a6554a3
@ -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/...)'`
|
||||
|
Reference in New Issue
Block a user