summaryrefslogtreecommitdiff
path: root/release.sh
diff options
context:
space:
mode:
Diffstat (limited to 'release.sh')
-rwxr-xr-xrelease.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/release.sh b/release.sh
index 25e374f..9c513f4 100755
--- a/release.sh
+++ b/release.sh
@@ -4,6 +4,7 @@ if [ $# -eq 0 ]; then
fi
sed -i "3s/.*/version = \"$1\"/" Cargo.toml
+cargo c
git add Cargo.*
git commit -m "release: version $1"
git tag -a "v$1" -m "Version $1"