From 38c2435402d5dd1379665dd3b10c5e87b1e59dba Mon Sep 17 00:00:00 2001 From: vic Date: Mon, 11 Jul 2022 11:48:40 -0700 Subject: [PATCH] fix(releasing): Fix release channel determination Was echoing the tag too when it matched. Signed-off-by: vic --- scripts/release-channel.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/release-channel.sh b/scripts/release-channel.sh index ec5e663148e2d..7924a98888473 100755 --- a/scripts/release-channel.sh +++ b/scripts/release-channel.sh @@ -13,7 +13,7 @@ set -eu # if this is a git tag, assume a real release -if git describe --exact-match --tags HEAD 2> /dev/null ; then +if git describe --exact-match --tags HEAD > /dev/null 2> /dev/null ; then echo "latest" else echo "nightly"