diff options
author | 2019-12-31 10:28:50 -0500 | |
---|---|---|
committer | 2019-12-31 10:31:40 -0500 | |
commit | 2a00bb0650db4fa8d148dcdcf475a054fd5f78f4 (patch) | |
tree | c68cdc187bc24e5e411627fcca5655be1dad0da9 /contrib | |
parent | _incr_version: prompt for target wlroots release (diff) | |
download | sway-2a00bb0650db4fa8d148dcdcf475a054fd5f78f4.tar.gz sway-2a00bb0650db4fa8d148dcdcf475a054fd5f78f4.tar.zst sway-2a00bb0650db4fa8d148dcdcf475a054fd5f78f4.zip |
_incr_version: always overwrite old version number
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/_incr_version | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/_incr_version b/contrib/_incr_version index 7059918d..436faf14 100755 --- a/contrib/_incr_version +++ b/contrib/_incr_version | |||
@@ -1,7 +1,7 @@ | |||
1 | #!/bin/sh -eu | 1 | #!/bin/sh -eu |
2 | old_version="$1" | 2 | old_version="$1" |
3 | new_version="$2" | 3 | new_version="$2" |
4 | sed -i meson.build -e "s/version: '$old_version'/version: '$new_version'/g" | 4 | sed -i meson.build -e "s/^ version: .*#release_version/ version: '$new_version', #release_version/g" |
5 | 5 | ||
6 | printf "Minimum wlroots version? " | 6 | printf "Minimum wlroots version? " |
7 | read wlr_version_min | 7 | read wlr_version_min |