aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorCara Salter <cara@devcara.com>2022-01-17 00:28:57 -0500
committerCara Salter <cara@devcara.com>2022-01-17 00:28:57 -0500
commit7d868aedd1147c484d82ea4815c5c53af834eacb (patch)
treee83b519d8c2dced7fc08e2c0278607e220d17785 /contrib
parent4c804b3a85e2eee6dffc5a2bf0545814aaa12b95 (diff)
downloadglitch-ng-7d868aedd1147c484d82ea4815c5c53af834eacb.tar.gz
glitch-ng-7d868aedd1147c484d82ea4815c5c53af834eacb.zip
meta: Update about command0.4.0
also increment version
Diffstat (limited to 'contrib')
-rw-r--r--contrib/_incr_version8
1 files changed, 8 insertions, 0 deletions
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"