chore: add release script
This commit is contained in:
12
scripts/release.sh
Executable file
12
scripts/release.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
# Set version
|
||||
tag=$1
|
||||
: > ./VERSION && echo $tag > VERSION
|
||||
|
||||
# Commit version number & push
|
||||
git add VERSION
|
||||
git commit -m "Bump version to $tag"
|
||||
git push origin
|
||||
|
||||
# Tag & Push.
|
||||
git tag $tag
|
||||
git push origin $tag
|
||||
Reference in New Issue
Block a user