mirror of
https://github.com/gwenhael-le-moine/sway-patched-tray-menu.git
synced 2024-12-26 21:58:08 +01:00
Further refinements to _incr_version script
This commit is contained in:
parent
7e9a9f1439
commit
b6e3045d32
1 changed files with 1 additions and 2 deletions
|
@ -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