Skip to content

Commit 60433b1

Browse files
committed
[ fix ] Add delay to dev release creation to avoid draft status
1 parent ce57c64 commit 60433b1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/test.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,12 @@ jobs:
316316
run: |
317317
# Delete existing dev release if it exists
318318
gh release delete dev --cleanup-tag -y || true
319-
319+
320+
# Wait for GitHub to process the deletion to avoid race condition
321+
# that causes releases to be created as drafts
322+
# See: https://github.com/cli/cli/issues/8458
323+
sleep 5
324+
320325
# Create new dev pre-release
321326
gh release create dev \
322327
--title "Development Release (dev)" \

0 commit comments

Comments
 (0)