Improve versioning script

This commit is contained in:
Andras Schmelczer 2025-10-27 07:02:50 +00:00
parent 24666f3435
commit 9e8c5ef524
2 changed files with 4 additions and 1 deletions

View file

@ -24,7 +24,7 @@
},
"../pkg": {
"name": "reconcile-text",
"version": "0.5.0",
"version": "0.6.0",
"dev": true,
"license": "MIT"
},

View file

@ -2,6 +2,8 @@
set -e
git pull --rebase
if [[ -z $1 ]]; then
echo "Usage: $0 {patch|minor|major}"
exit 1
@ -29,6 +31,7 @@ wasm-pack build --target web --features wasm
cd reconcile-js
npm version $1
npm install
cd -