Home > Mobile >  gh cli create release from tagged draft template
gh cli create release from tagged draft template

Time:12-03

Let say I have release draft template tagged 1.10

Now I would like to publish a new 1.10 release from this draft with gh cli but I see no options for that or do not understanding how can I achieve it

If I run gh release create 1.10 --release-notes it will create new release notes which is undesirable (my draft uses another template). If I add -d flag, it will create new draft. All I want is to publish from existing tagged draft something like (dummy command) gh release create 1.10 --from-draft - is it possible?

CodePudding user response:

Use the edit option to publish the release.

Publish a release that was previously a draft

$ gh release edit v1.0 --draft=false
  • Related