aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2019-08-27 12:29:42 +0900
committerLibravatar Drew DeVault <sir@cmpwn.com>2019-08-27 12:31:14 +0900
commit06c894cadaa15d1b9aa2fc372f6d77767e9039a8 (patch)
treed1bebf9c566e008935c9cc16d168c849111f98c1
parentA layer-shell will only be focused if it is non-null (diff)
downloadsway-06c894cadaa15d1b9aa2fc372f6d77767e9039a8.tar.gz
sway-06c894cadaa15d1b9aa2fc372f6d77767e9039a8.tar.zst
sway-06c894cadaa15d1b9aa2fc372f6d77767e9039a8.zip
Add _incr_version 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"