sway/contrib/_incr_version

6 lines
168 B
Plaintext
Raw Permalink Normal View History

2019-08-27 03:29:42 +00:00
#!/bin/sh -eu
new_version="$2"
sed -i meson.build -e "s/^\tversion: '.*'/\tversion: '$new_version'/"
2019-08-27 03:29:42 +00:00
git add meson.build
git commit -m "Update version to $new_version"