From 7d868aedd1147c484d82ea4815c5c53af834eacb Mon Sep 17 00:00:00 2001 From: Cara Salter Date: Mon, 17 Jan 2022 00:28:57 -0500 Subject: meta: Update about command also increment version --- contrib/_incr_version | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 contrib/_incr_version (limited to 'contrib') diff --git a/contrib/_incr_version b/contrib/_incr_version new file mode 100644 index 0000000..c2ded2c --- /dev/null +++ b/contrib/_incr_version @@ -0,0 +1,8 @@ +#!/bin/sh -eu +old_version="$1" +new_version="$2" +sed -i "s/version = \"$old_version\"/version = \"$new_version\"/" Cargo.toml + + +git add Cargo.toml +git commit -m "Update version to $new_version" -- cgit v1.2.3