From ab18e99bd5015af0e039fc7ea66b0b7b98d391e0 Mon Sep 17 00:00:00 2001 From: James Rich <2199651+jamesarich@users.noreply.github.com> Date: Sat, 4 Oct 2025 20:26:37 -0500 Subject: [PATCH] fix(ci): update draft release query to use tagName instead of url (#3349) Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com> --- .github/workflows/post-release-cleanup.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/post-release-cleanup.yml b/.github/workflows/post-release-cleanup.yml index 8ef7985ba..74ec58506 100644 --- a/.github/workflows/post-release-cleanup.yml +++ b/.github/workflows/post-release-cleanup.yml @@ -68,7 +68,7 @@ jobs: echo "Searching for draft releases with '$BASE_VERSION' in their name." - DRAFT_RELEASES=$(gh release list --json name,isDraft,url --limit 100 | jq -r --arg ver "$BASE_VERSION" '.[] | select(.isDraft == true and (.name | contains($ver))) | .url') + DRAFT_RELEASES=$(gh release list --json name,isDraft,tagName --limit 100 | jq -r --arg ver "$BASE_VERSION" '.[] | select(.isDraft == true and (.name | contains($ver))) | .tagName') if [ -z "$DRAFT_RELEASES" ]; then echo "No draft releases found with '$BASE_VERSION' in their name."