Created
November 1, 2021 15:58
-
-
Save DmitriyLyalyuev/1440e4bf224a13707d7484bdeb7972d2 to your computer and use it in GitHub Desktop.
Remove all draft releases on GitHub
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
brew install hub | |
git clone git@github.com:username/reponame | |
cd reponame | |
hub release -f "%T (%S) %n" --include-drafts | grep " (draft)" | awk '{print $1}' | xargs -t -n1 hub release delete |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment