From 84746718fd59a88e3932b1dc8ed38b3297da56ca Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Fri, 23 Jun 2017 21:40:37 +0200 Subject: [PATCH] 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 --- scripts/deploy/publish-build-artifacts.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/deploy/publish-build-artifacts.sh b/scripts/deploy/publish-build-artifacts.sh index 5adf915e28e..8d3364c02eb 100755 --- a/scripts/deploy/publish-build-artifacts.sh +++ b/scripts/deploy/publish-build-artifacts.sh @@ -55,6 +55,10 @@ publishPackage() { # Update the package.json version to include the current commit SHA. sed -i "s/${buildVersion}/${buildVersion}-${commitSha}/g" package.json + # For build artifacts the different Angular packages that refer to the 0.0.0-PLACEHOLDER should + # be replaced with the Github builds that are published at the same time. + sed -i "s/0.0.0-PLACEHOLDER/${buildVersion}-${commitSha}/g" package.json + # Prepare Git for pushing the artifacts to the repository. git config user.name "${commitAuthorName}" git config user.email "${commitAuthorEmail}"