Add _incr_version to contrib/

This commit is contained in:
Drew DeVault 2019-08-27 12:29:42 +09:00
parent f07b9afee5
commit c2030b9abd

6
contrib/_incr_version Normal file
View File

@ -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"