Skip to content

Instantly share code, notes, and snippets.

@henryavila
Last active October 30, 2023 14:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save henryavila/426c2653e1b23a0b0552d46889c91b4e to your computer and use it in GitHub Desktop.
Save henryavila/426c2653e1b23a0b0552d46889c91b4e to your computer and use it in GitHub Desktop.
Publish last draft releaase on Github on Linux using Github Cli
#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