kou commented on issue #48884:
URL: https://github.com/apache/arrow/issues/48884#issuecomment-3766003250

   It makes sense. We may be able to this in GitHub Actions:
   
   ```diff
   diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
   index 611e761679..8877818465 100644
   --- a/.github/workflows/release.yml
   +++ b/.github/workflows/release.yml
   @@ -73,3 +73,14 @@ jobs:
                --title "${RELEASE_TITLE}" \
                --verify-tag \
                release_candidate_artifacts/*
   +      - name: Remove Draft GitHub Releases
   +        run: |
   +          gh release list \
   +            --jq '.[] | select(.isDraft).tagName' \
   +            --json isDraft,tagName \
   +            --repo ${GITHUB_REPOSITORY} |
   +              while read tag; do \
   +                gh release delete ${tag} \
   +                  --repo ${GITHUB_REPOSITORY} \
   +                  --yes; \
   +              done
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to