ci: don't publish ivy build artifacts on a non-master branch

This commit is contained in:
Igor Minar
2018-10-23 14:43:17 -07:00
committed by Alex Rickabaugh
parent cace4dea64
commit a3eac19831
2 changed files with 6 additions and 1 deletions

View File

@ -59,6 +59,7 @@ buildTargetPackages "$BAZEL_TARGETS" "dist/packages-dist" "legacy" "Production"
[[ "${CI_PULL_REQUEST-}" != "false"
|| "${CI_REPO_OWNER-}" != "angular"
|| "${CI_REPO_NAME-}" != "angular"
|| "${CI_BRANCH}" != "master"
]] && exit 0
buildTargetPackages "$BAZEL_TARGETS" "dist/packages-dist-ivy-aot" "aot" "Ivy AOT"