From 2b28b91fd990e5739218a3658a3a36414e55896a Mon Sep 17 00:00:00 2001 From: Keen Yee Liau Date: Fri, 19 Jul 2019 12:10:10 -0700 Subject: [PATCH] ci: Add ANGULAR_PACKAGE to snapshot builds (#31900) Ivy snapshots no longer contain metadata.json which breaks the detection logic for Angular Package Format (APF) in npm/yarn install. This PR adds ANGULAR_PACAKGE as a magic file to denote APF. See https://github.com/bazelbuild/rules_nodejs/issues/927 PR Close #31900 --- scripts/ci/publish-build-artifacts.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/ci/publish-build-artifacts.sh b/scripts/ci/publish-build-artifacts.sh index 0148f1dd1f..9ed2f778db 100755 --- a/scripts/ci/publish-build-artifacts.sh +++ b/scripts/ci/publish-build-artifacts.sh @@ -70,6 +70,7 @@ function publishRepo { fi echo `date` > $REPO_DIR/BUILD_INFO echo $SHA >> $REPO_DIR/BUILD_INFO + echo 'This file is used by the npm/yarn_install rule to detect APF. See https://github.com/bazelbuild/rules_nodejs/issues/927' > $REPO_DIR/ANGULAR_PACKAGE ( cd $REPO_DIR && \