mirror of
https://github.com/swaywm/sway.git
synced 2024-11-22 16:01:27 +00:00
Add _incr_version to contrib/
This commit is contained in:
parent
f07b9afee5
commit
c2030b9abd
6
contrib/_incr_version
Normal file
6
contrib/_incr_version
Normal file
|
@ -0,0 +1,6 @@
|
|||
#!/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"
|
Loading…
Reference in a new issue