diff options
-rw-r--r-- | contrib/_incr_version | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/_incr_version b/contrib/_incr_version new file mode 100644 index 00000000..7563965b --- /dev/null +++ b/contrib/_incr_version @@ -0,0 +1,6 @@ +#!/bin/sh -eu +old_version="$1" +new_version="$2" +sed -i meson.build -e "s/version: '$old_version'/version: '$new_version'/g" +git add meson.build +git commit -m "Update version to $new_version" |