File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,8 @@ publishPackage() {
6060 cd ${repoDir}
6161
6262 # Update the package.json version to include the current commit SHA.
63+ # Normally this "sed" call would just replace the version placeholder, but the version in the
64+ # package.json file is already replaced by the release task of the current package.
6365 sed -i " s/${buildVersion} /${buildVersion} -${commitSha} /g" package.json
6466
6567 # For build artifacts the different Angular packages that refer to the 0.0.0-PLACEHOLDER should
@@ -74,7 +76,7 @@ publishPackage() {
7476 echo " https://${MATERIAL2_BUILDS_TOKEN} :@github.com" > .git/credentials
7577
7678 git add -A
77- git commit -m " ${commitMessage} "
79+ git commit --allow-empty - m " ${commitMessage} "
7880 git tag " ${buildVersion} -${commitSha} "
7981 git push origin master --tags
8082
Original file line number Diff line number Diff line change @@ -90,6 +90,6 @@ git config credential.helper "store --file=.git/credentials"
9090echo " https://${MATERIAL2_DOCS_CONTENT_TOKEN} :@github.com" > .git/credentials
9191
9292git add -A
93- git commit -m " $commitMessage "
93+ git commit --allow-empty - m " $commitMessage "
9494git tag " $commitSha "
9595git push origin master --tags
You can’t perform that action at this time.
0 commit comments