Clean up version bumping
This commit is contained in:
parent
7778ed894f
commit
19d868fe4d
1 changed files with 13 additions and 20 deletions
11
bump-version.sh
Normal file
11
bump-version.sh
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd backend
|
||||
cargo set-version --bump patch
|
||||
cd ../plugin
|
||||
npm version patch
|
||||
git add .
|
||||
git commit -m "Bump versions"
|
||||
TAG=$(node -p "require('./package.json').version")
|
||||
git tag -a $TAG -m "Release $TAG"
|
||||
git push origin $TAG
|
||||
Loading…
Reference in a new issue