From aebe3a42627704ac8643e70e132e8fe88218c59c Mon Sep 17 00:00:00 2001 From: E M <5089238+emizzle@users.noreply.github.com> Date: Fri, 24 Apr 2026 15:30:56 +1000 Subject: [PATCH] fix polling script --- .github/workflows/release.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 36c53895..21d9eed6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -325,10 +325,13 @@ jobs: -n default \ -o jsonpath='{.items[0].status.phase}' 2>/dev/null) echo "Pod phase: ${phase:-not yet created}" - [[ "$phase" == "Running" ]] && break + if [[ "$phase" == "Running" ]]; then break; fi sleep 10 done - [[ "$phase" == "Running" ]] || { echo "Timed out waiting for pod to reach Running state"; exit 1; } + if [[ "$phase" != "Running" ]]; then + echo "Timed out waiting for pod to reach Running state" + exit 1 + fi - name: Stream test logs run: |