Skip to content

Commit

Permalink
build: replace cdk version placeholder for build artifacts (#5330)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
devversion authored and jelbourn committed Jun 23, 2017
1 parent 7beb08b commit 8474671
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/deploy/publish-build-artifacts.sh
Expand Up @@ -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}"
Expand Down

0 comments on commit 8474671

Please sign in to comment.