aboutsummaryrefslogtreecommitdiff
path: root/contrib/_incr_version
blob: 343fba7075fdb49afd65c84ca1889b0ff81ecffe (plain)
1
2
3
4
5
#!/bin/sh -eux
sed -i meson.build -e "s/^  version : '${1}'/  version : '${2}'/"
sed -i README -e "s/v${1}/v${2}/"
git add meson.build README
git commit -m "Update version to ${2}"