diff --git a/release.sh b/release.sh index 844231b..d463e85 100755 --- a/release.sh +++ b/release.sh @@ -3,4 +3,7 @@ set -e -o pipefail # usage: ./release minor -n version=$(bump2version --dry-run --list $* | grep new_version= | sed -r s,"^.*=",,) echo Version tag v$version -bumpversion $* --verbose && git push upstream master v$version +bumpversion $* --verbose +(cd js && npm install) +git add js/package-lock.json && git commit --amend --no-edit +git push upstream master v$version