Skip to content

Commit 622003d

Browse files
committed
[FIX] [CI] Fix upgrading release notes to latest release
1 parent e93ad67 commit 622003d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -415,8 +415,8 @@ jobs:
415415
MINOR=$(echo "$VERSION" | sed -E 's/^([0-9]+\.[0-9]+).*/\1/')
416416
417417
# Find the existing draft release for this minor version
418-
EXISTING_TAG=$(gh release list --json tagName,isDraft --limit 100 \
419-
| jq -r ".[] | select(.isDraft) | select(.tagName | startswith(\"v${MINOR}.\")) | .tagName" | head -1)
418+
EXISTING_TAG=$(gh release list --json tagName --limit 100 \
419+
| jq -r ".[] | select(.tagName | startswith(\"v${MINOR}.\")) | .tagName" | head -1)
420420
421421
if [[ -n "$EXISTING_TAG" ]]; then
422422
echo "Updating existing draft release from $EXISTING_TAG to $TAG"

0 commit comments

Comments
 (0)