Obtain updated README by using a checkout
As the dist directory isn't available on the original branch, we cant use its files to update the SRI hashes. Checking out from the release tag is therefore the better option. A checkout will automatically stage its files.
This commit is contained in:
parent
76051a6ac2
commit
fc115e1f66
|
@ -139,9 +139,9 @@ if [ ! -z "$NEXT_VERSION" ]; then
|
|||
|
||||
# Refer to the just-released version in the documentation of the
|
||||
# development branch, too. Most people will read docs on master.
|
||||
node update-sri.js "${VERSION}" README.md contrib/*/README.md
|
||||
git checkout "v${VERSION}" -- README.md contrib/*/README.md
|
||||
|
||||
git add package.json bower.json README.md contrib/*/README.md
|
||||
git add package.json bower.json
|
||||
git commit -n -m "Bump $BRANCH to v$NEXT_VERSION-pre"
|
||||
git push origin "$BRANCH"
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user