Last active
October 30, 2023 14:12
-
-
Save henryavila/426c2653e1b23a0b0552d46889c91b4e to your computer and use it in GitHub Desktop.
Publish last draft releaase on Github on Linux using Github 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
#The Release must exist as a draft releaase | |
REPO=repo/name | |
TAG=$(gh release list -L 1 -R github.com/$REPO | grep -P '^v[0-9\.]+' -o) | |
gh release edit $TAG --draft=false -R github.com/$REPO |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment