aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/_incr_version
blob: b89ecd190d5301576268841076642b2553a4fc3d (plain) (blame)
1
2
3
4
5
#!/bin/sh -eu
new_version="$2"
sed -i meson.build -e "s/^\tversion: '.*'/\tversion: '$new_version'/"
git add meson.build
git commit -m "Update version to $new_version"