aboutsummaryrefslogtreecommitdiff
path: root/contrib/_incr_version
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/_incr_version')
-rwxr-xr-xcontrib/_incr_version2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/_incr_version b/contrib/_incr_version
index 7059918d..436faf14 100755
--- a/contrib/_incr_version
+++ b/contrib/_incr_version
@@ -1,7 +1,7 @@
#!/bin/sh -eu
old_version="$1"
new_version="$2"
-sed -i meson.build -e "s/version: '$old_version'/version: '$new_version'/g"
+sed -i meson.build -e "s/^ version: .*#release_version/ version: '$new_version', #release_version/g"
printf "Minimum wlroots version? "
read wlr_version_min