_incr_version: always overwrite old version number

master
Drew DeVault 5 years ago
parent a44ae8869b
commit 2a00bb0650

@ -1,7 +1,7 @@
#!/bin/sh -eu #!/bin/sh -eu
old_version="$1" old_version="$1"
new_version="$2" 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? " printf "Minimum wlroots version? "
read wlr_version_min read wlr_version_min

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

Loading…
Cancel
Save