1
1
mirror of https://github.com/swaywm/sway synced 2024-11-22 16:32:16 +01:00

release.sh: read meson-rewrite output from stdout

Since version 1.6, Meson now uses stdout:
3f4957c713
This commit is contained in:
Simon Ser 2024-10-27 21:55:24 +01:00 committed by Kenny Levinsen
parent f38719f575
commit d417a8fcd0

@ -1,7 +1,7 @@
#!/bin/sh -eu
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
*-dev)