Skip to content

Commit

Permalink
chore: also update package-lock when bumping version
Browse files Browse the repository at this point in the history
  • Loading branch information
mariobuikhuizen committed Feb 27, 2024
1 parent 9fdcd5c commit 076f25d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 076f25d

Please sign in to comment.