aboutsummaryrefslogtreecommitdiff
path: root/contrib/_incr_version
blob: 7563965b724cd80de4cf9315f6c17826368e375a (plain)
1
2
3
4
5
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"