Skip to content

Commit

Permalink
ci: Add ANGULAR_PACKAGE to snapshot builds
Browse files Browse the repository at this point in the history
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 bazel-contrib/rules_nodejs#927
  • Loading branch information
kyliau committed Jul 19, 2019
1 parent f10d6c6 commit 11ae249
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/ci/publish-build-artifacts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down

0 comments on commit 11ae249

Please sign in to comment.