From b6e3045d328a6f18c445f006e3dfb3cd60bd1df8 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Tue, 27 Aug 2019 13:41:54 +0900 Subject: Further refinements to _incr_version script --- contrib/_incr_version | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/contrib/_incr_version b/contrib/_incr_version index 7563965b..b89ecd19 100755 --- a/contrib/_incr_version +++ b/contrib/_incr_version @@ -1,6 +1,5 @@ #!/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/^\tversion: '.*'/\tversion: '$new_version'/" git add meson.build git commit -m "Update version to $new_version" -- cgit v1.2.3-54-g00ecf