From 11ae249e1315b6c43040e4197b6c5b971f3def04 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 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 --- 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 0148f1dd1f2c5..0c056435e2d6e 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' > $REPO_DIR/ANGULAR_PACKAGE ( cd $REPO_DIR && \