mirror of
https://github.com/swaywm/sway.git
synced 2024-11-25 17:31:28 +00:00
_incr_version: always overwrite old version number
This commit is contained in:
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…
Reference in a new issue