diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2021-06-24 18:35:00 +0200 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2021-06-24 18:35:00 +0200 |
| commit | 717a7e75bfa520af0f376eeffa09673ee5d6b5ea (patch) | |
| tree | b681d9b99b7b2c7f163700cead1d113f992701a0 | |
| parent | 322baf0e2bb3b12cee3ec73ab83fdc7fb2d05c4a (diff) | |
contrib: drop incr_version script
This isn't used anymore.
| -rwxr-xr-x | contrib/_incr_version | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/contrib/_incr_version b/contrib/_incr_version deleted file mode 100755 index a4fa2654..00000000 --- a/contrib/_incr_version +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh -eu -old_version="$1" -new_version="$2" - -if [ "$new_version" != "${new_version#v}" ] -then - echo "Error: The new version shouldn't be prefixed with a \"v\"." >&2 - exit 1 -fi - -sed -i meson.build -e "s/^ version: .*#release_version/ version: '$new_version', #release_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" |
