_incr_version: always overwrite old version number

This commit is contained in:
Drew DeVault 2019-12-31 10:28:50 -05:00
parent a44ae8869b
commit 2a00bb0650
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -1,7 +1,7 @@
project(
'sway',
'c',
version: '1.2',
version: '1.2', #release_version
license: 'MIT',
meson_version: '>=0.48.0',
default_options: [