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

View File

@ -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)