We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 740617a + 71b6b73 commit 6f9700aCopy full SHA for 6f9700a
1 file changed
.github/workflows/release-drafter.yml
@@ -54,17 +54,8 @@ jobs:
54
exit 0
55
fi
56
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
+ echo "Proceeding with draft for v${VERSION}."
+ echo "skip=false" >> $GITHUB_OUTPUT
68
env:
69
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
70
0 commit comments