_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