From 2a00bb0650db4fa8d148dcdcf475a054fd5f78f4 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Tue, 31 Dec 2019 10:28:50 -0500 Subject: _incr_version: always overwrite old version number --- contrib/_incr_version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib') 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 -- cgit v1.2.3