mirror of
https://github.com/swaywm/sway.git
synced 2024-12-28 07:56:31 +01:00
Add _incr_version to contrib/
This commit is contained in:
parent
f07b9afee5
commit
c2030b9abd
1 changed files with 6 additions and 0 deletions
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