sway/contrib/_incr_version
2019-08-27 13:41:54 +09:00

6 lines
168 B
Bash
Executable file

#!/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"