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 +- meson.build | 2 +- 2 files changed, 2 insertions(+), 2 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 diff --git a/meson.build b/meson.build index 70afcd50..230d6b1e 100644 --- a/meson.build +++ b/meson.build @@ -1,7 +1,7 @@ project( 'sway', 'c', - version: '1.2', + version: '1.2', #release_version license: 'MIT', meson_version: '>=0.48.0', default_options: [ -- cgit v1.2.3-54-g00ecf