Skip to content

Commit 8474671

Browse files
devversionjelbourn
authored andcommitted
build: replace cdk version placeholder for build artifacts (#5330)
* Currently the `0.0.0-PLACEHOLDER` is still inside of the `package.json` of the material2-builds. Similar as for every other Angular package the version placeholder should be replaced with the version of the current "build commit". Closes #5320
1 parent 7beb08b commit 8474671

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/deploy/publish-build-artifacts.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ publishPackage() {
5555
# Update the package.json version to include the current commit SHA.
5656
sed -i "s/${buildVersion}/${buildVersion}-${commitSha}/g" package.json
5757

58+
# For build artifacts the different Angular packages that refer to the 0.0.0-PLACEHOLDER should
59+
# be replaced with the Github builds that are published at the same time.
60+
sed -i "s/0.0.0-PLACEHOLDER/${buildVersion}-${commitSha}/g" package.json
61+
5862
# Prepare Git for pushing the artifacts to the repository.
5963
git config user.name "${commitAuthorName}"
6064
git config user.email "${commitAuthorEmail}"

0 commit comments

Comments
 (0)