OS Manuals

gh-release-edit(1)

gh-release-edit - Edit a release

GH-RELEASE-EDIT(1) GitHub CLI manual GH-RELEASE-EDIT(1)

gh-release-edit - Edit a release

gh release edit <tag>

Start a discussion in the specified category when publishing a draft

Save the release as a draft instead of publishing it

Explicitly mark the release as "Latest"

Release notes

Read release notes from file (use "-" to read from standard input)

Mark the release as a prerelease

The name of the tag

Target branch or full commit SHA (default [main branch])

Release title

Abort in case the git tag doesn't already exist in the remote repository

Select another repository using the [HOST/]OWNER/REPO format

0: Successful execution

1: Error

2: Command canceled

4: Authentication required

NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information.

# Publish a release that was previously a draft
$ gh release edit v1.0 --draft=false
# Update the release notes from the content of a file
$ gh release edit v1.0 --notes-file /path/to/release_notes.md

gh-release(1)

Oct 2026

gh 2.103.3-r1 · os · ingested 2026-10-31