Improve versioning script
This commit is contained in:
parent
24666f3435
commit
9e8c5ef524
2 changed files with 4 additions and 1 deletions
2
reconcile-js/package-lock.json
generated
2
reconcile-js/package-lock.json
generated
|
|
@ -24,7 +24,7 @@
|
|||
},
|
||||
"../pkg": {
|
||||
"name": "reconcile-text",
|
||||
"version": "0.5.0",
|
||||
"version": "0.6.0",
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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 -
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue