sway-patched-tray-menu-github/contrib/_incr_version
2019-08-27 12:30:48 +09:00

6 lines
191 B
Bash
Executable file

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