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
This commit is contained in:
Keen Yee Liau 2019-07-19 12:10:10 -07:00 committed by Misko Hevery
parent 18ce58c2bc
commit 2b28b91fd9
1 changed files with 1 additions and 0 deletions

View File

@ -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 && \