blob: 25e374fbfde2ac124f15517dc90b904dba268ccf (
plain)
1
2
3
4
5
6
7
8
9
|
if [ $# -eq 0 ]; then
echo "You must pass the version number."
exit 1
fi
sed -i "3s/.*/version = \"$1\"/" Cargo.toml
git add Cargo.*
git commit -m "release: version $1"
git tag -a "v$1" -m "Version $1"
|