From bcc85709f61f69e1783f8cf94f51e533c2995ef5 Mon Sep 17 00:00:00 2001 From: Inferencebot Date: Mon, 26 Oct 2026 02:13:48 +0000 Subject: [PATCH] release.sh: fix the builder-login detection (info output is multiline) --- release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release.sh b/release.sh index 56e3130..6dcdb6f 100755 --- a/release.sh +++ b/release.sh @@ -46,7 +46,7 @@ cmd_build() { [ -z "$(git status --porcelain)" ] || die "working tree is dirty — commit first, the tag carries the git sha" local logged_in=0 - if cloudron builder info 2>/dev/null | grep -viq "not logged in"; then logged_in=1; fi + if ! cloudron builder info 2>/dev/null | grep -qi "not logged in"; then logged_in=1; fi local authargs=() if [ -n "${REGISTRY_BUILD_TOKEN:-}" ]; then