From 7e67059a2a8e21a1502e24425e97444e824c8c86 Mon Sep 17 00:00:00 2001 From: Francisco Javier Arceo Date: Mon, 15 Jun 2026 09:49:02 -0400 Subject: [PATCH] ci: Allow nightly fallback with no release Signed-off-by: Francisco Javier Arceo --- .github/workflows/nightly_python_sdk_release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nightly_python_sdk_release.yml b/.github/workflows/nightly_python_sdk_release.yml index e350ccd3f9f..87b1ca038e9 100644 --- a/.github/workflows/nightly_python_sdk_release.yml +++ b/.github/workflows/nightly_python_sdk_release.yml @@ -55,7 +55,7 @@ jobs: set -e echo "$SEMANTIC_OUTPUT" - BASE_VERSION=$(echo "$SEMANTIC_OUTPUT" | grep 'The next release version is' | sed -E 's/.* ([[:digit:].]+)$/\1/' | tail -n 1) + BASE_VERSION=$(echo "$SEMANTIC_OUTPUT" | grep 'The next release version is' | sed -E 's/.* ([[:digit:].]+)$/\1/' | tail -n 1 || true) if [[ -z "$BASE_VERSION" ]]; then echo "Could not determine a semantic-release next version (exit code: ${SEMANTIC_STATUS}); falling back to next patch after latest stable tag." source infra/scripts/setup-common-functions.sh