diff options
-rwxr-xr-x | contrib/_incr_version | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/_incr_version b/contrib/_incr_version index 7563965b..b89ecd19 100755 --- a/contrib/_incr_version +++ b/contrib/_incr_version | |||
@@ -1,6 +1,5 @@ | |||
1 | #!/bin/sh -eu | 1 | #!/bin/sh -eu |
2 | old_version="$1" | ||
3 | new_version="$2" | 2 | new_version="$2" |
4 | sed -i meson.build -e "s/version: '$old_version'/version: '$new_version'/g" | 3 | sed -i meson.build -e "s/^\tversion: '.*'/\tversion: '$new_version'/" |
5 | git add meson.build | 4 | git add meson.build |
6 | git commit -m "Update version to $new_version" | 5 | git commit -m "Update version to $new_version" |