about summary refs log tree commit diff stats
path: root/contrib/_incr_version
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2020-05-19 12:12:18 -0400
committerDrew DeVault <sir@cmpwn.com>2020-05-19 12:12:18 -0400
commit2b54b04c852f8153bdf818f864e002aa861051ed (patch)
tree15ecc674cf116e432ce5958c8146b8f2be227e32 /contrib/_incr_version
parent3ba836003a3457d96b19979b4c442f64745157e9 (diff)
downloadaerc-2b54b04c852f8153bdf818f864e002aa861051ed.tar.gz
Add contrib/_incr_version
Diffstat (limited to 'contrib/_incr_version')
-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}"