mirror of
https://github.com/swaywm/sway.git
synced 2024-11-25 09:21:28 +00:00
Further refinements to _incr_version script
This commit is contained in:
parent
7e9a9f1439
commit
b6e3045d32
|
@ -1,6 +1,5 @@
|
|||
#!/bin/sh -eu
|
||||
old_version="$1"
|
||||
new_version="$2"
|
||||
sed -i meson.build -e "s/version: '$old_version'/version: '$new_version'/g"
|
||||
sed -i meson.build -e "s/^\tversion: '.*'/\tversion: '$new_version'/"
|
||||
git add meson.build
|
||||
git commit -m "Update version to $new_version"
|
||||
|
|
Loading…
Reference in a new issue