We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e93ad67 commit 622003dCopy full SHA for 622003d
1 file changed
.github/workflows/release.yml
@@ -415,8 +415,8 @@ jobs:
415
MINOR=$(echo "$VERSION" | sed -E 's/^([0-9]+\.[0-9]+).*/\1/')
416
417
# 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)
+ EXISTING_TAG=$(gh release list --json tagName --limit 100 \
+ | jq -r ".[] | select(.tagName | startswith(\"v${MINOR}.\")) | .tagName" | head -1)
420
421
if [[ -n "$EXISTING_TAG" ]]; then
422
echo "Updating existing draft release from $EXISTING_TAG to $TAG"
0 commit comments