about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xcontrib/_incr_version4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/_incr_version b/contrib/_incr_version
new file mode 100755
index 0000000..dfd22db
--- /dev/null
+++ b/contrib/_incr_version
@@ -0,0 +1,4 @@
+#!/bin/sh -eu
+sed -i Makefile -e "s/^VERSION=${1}/VERSION=${2}/"
+git add Makefile
+git commit -m "Update version to ${2}"