From 60d844ba692893dd3c72edfe0a9c612ae6c993cf Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Mon, 2 Sep 2024 11:15:52 +0200 Subject: cd: add `release.sh` and fix text --- release.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 release.sh (limited to 'release.sh') diff --git a/release.sh b/release.sh new file mode 100755 index 0000000..04e2f2f --- /dev/null +++ b/release.sh @@ -0,0 +1,7 @@ +if [ $# -eq 0 ]; then + echo "You must pass the version number." + exit 1 +fi + +sed -i "3s/.*/version = \"$1\"/" Cargo.toml +git tag -a "v$1" -m "Version $1" -- cgit v1.2.3-18-g5258