mirror of
https://github.com/swaywm/sway.git
synced 2024-11-27 18:31:28 +00:00
release.sh: read meson-rewrite output from stdout
Since version 1.6, Meson now uses stdout:
3f4957c713
This commit is contained in:
parent
f38719f575
commit
d417a8fcd0
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh -eu
|
#!/bin/sh -eu
|
||||||
|
|
||||||
prev=$(git describe --tags --abbrev=0)
|
prev=$(git describe --tags --abbrev=0)
|
||||||
next=$(meson rewrite kwargs info project / 2>&1 >/dev/null | jq -r '.kwargs["project#/"].version')
|
next=$(meson rewrite kwargs info project / | jq -r '.kwargs["project#/"].version')
|
||||||
|
|
||||||
case "$next" in
|
case "$next" in
|
||||||
*-dev)
|
*-dev)
|
||||||
|
|
Loading…
Reference in a new issue