Skip to content

Commit 7e57e9c

Browse files
Remove check for existing release
1 parent 5c06e69 commit 7e57e9c

1 file changed

Lines changed: 2 additions & 11 deletions

File tree

.github/workflows/release-drafter.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -54,17 +54,8 @@ jobs:
5454
exit 0
5555
fi
5656
57-
# Check if a draft exists for a DIFFERENT version (only one draft at a time)
58-
EXISTING_DRAFT=$(gh release list --limit 50 --json tagName,isDraft --jq '.[] | select(.isDraft == true) | .tagName' | head -1)
59-
60-
if [ -n "$EXISTING_DRAFT" ] && [ "$EXISTING_DRAFT" != "v${VERSION}" ]; then
61-
echo "Draft release $EXISTING_DRAFT already exists (for different version). Skipping v${VERSION}."
62-
echo "Only one draft release at a time is supported."
63-
echo "skip=true" >> $GITHUB_OUTPUT
64-
else
65-
echo "Proceeding with draft for v${VERSION}."
66-
echo "skip=false" >> $GITHUB_OUTPUT
67-
fi
57+
echo "Proceeding with draft for v${VERSION}."
58+
echo "skip=false" >> $GITHUB_OUTPUT
6859
env:
6960
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7061

0 commit comments

Comments
 (0)