diff --git a/scripts/release.sh b/scripts/release.sh new file mode 100755 index 0000000..0065abb --- /dev/null +++ b/scripts/release.sh @@ -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