aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/_incr_version6
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/_incr_version b/contrib/_incr_version
new file mode 100644
index 00000000..7563965b
--- /dev/null
+++ b/contrib/_incr_version
@@ -0,0 +1,6 @@
1#!/bin/sh -eu
2old_version="$1"
3new_version="$2"
4sed -i meson.build -e "s/version: '$old_version'/version: '$new_version'/g"
5git add meson.build
6git commit -m "Update version to $new_version"