Created
September 25, 2022 05:11
-
-
Save LUN7/0276596588f88335325c56873cf401c1 to your computer and use it in GitHub Desktop.
Delete all draft release with gh cli
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gh release list | grep Draft | awk '{print $1 " \t"}' | while read -r line; do gh release delete -y "$line"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment