mirror of
https://github.com/swaywm/sway
synced 2024-11-23 17:32:40 +01:00
_incr_version: prompt for target wlroots release
This commit is contained in:
parent
f501a60c14
commit
a44ae8869b
@ -2,5 +2,13 @@
|
||||
old_version="$1"
|
||||
new_version="$2"
|
||||
sed -i meson.build -e "s/version: '$old_version'/version: '$new_version'/g"
|
||||
|
||||
printf "Minimum wlroots version? "
|
||||
read wlr_version_min
|
||||
printf "Maximum wlroots version? "
|
||||
read wlr_version_max
|
||||
|
||||
sed -i meson.build -e "s/wlroots_version =.*/wlroots_version = ['>=$wlr_version_min', '<$wlr_version_max']/"
|
||||
|
||||
git add meson.build
|
||||
git commit -m "Update version to $new_version"
|
||||
|
Loading…
Reference in New Issue
Block a user