From b8b0f661e6857731215798c6759e0ade9b3099f6 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Fri, 6 Sep 2024 16:29:40 +0200 Subject: Fix scripts and add compose --- scripts/release | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 scripts/release (limited to 'scripts/release') diff --git a/scripts/release b/scripts/release new file mode 100755 index 0000000..9c513f4 --- /dev/null +++ b/scripts/release @@ -0,0 +1,10 @@ +if [ $# -eq 0 ]; then + echo "You must pass the version number." + exit 1 +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" -- cgit v1.2.3-18-g5258