diff --git a/scripts/bump-version.sh b/scripts/bump-version.sh index 11cde48..fc3eac7 100755 --- a/scripts/bump-version.sh +++ b/scripts/bump-version.sh @@ -23,13 +23,18 @@ else fi echo "Bumping versions" -cd backend cargo set-version --bump $1 -wasm-pack build --target web --features wasm +wasm-pack build --target web --features wasm,wee_alloc + +cd reconcile-js +npm version $1 + +cd - -# Commit and tag git add . +TAG=$(node -p "require('./reconcile-js/package.json').version") + git commit -m "Bump versions to $TAG" git push