1GH-RELEASE-EDIT(1)             GitHub CLI manual            GH-RELEASE-EDIT(1)
2
3
4

NAME

6       gh-release-edit - Edit a release
7
8
9

SYNOPSIS

11       gh release edit <tag>
12
13
14

OPTIONS

16       --discussion-category <string>
17              Start  a  discussion in the specified category when publishing a
18              draft
19
20
21       --draft
22              Save the release as a draft instead of publishing it
23
24
25       --latest
26              Explicitly mark the release as "Latest"
27
28
29       -n, --notes <string>
30              Release notes
31
32
33       -F, --notes-file <file>
34              Read release notes from file (use "-" to read from standard  in‐
35              put)
36
37
38       --prerelease
39              Mark the release as a prerelease
40
41
42       --tag <string>
43              The name of the tag
44
45
46       --target <branch>
47              Target branch or full commit SHA (default: main branch)
48
49
50       -t, --title <string>
51              Release title
52
53
54

OPTIONS INHERITED FROM PARENT COMMANDS

56       -R, --repo <[HOST/]OWNER/REPO>
57              Select another repository using the [HOST/]OWNER/REPO format
58
59
60

EXAMPLE

62              Publish a release that was previously a draft
63              $ gh release edit v1.0 --draft=false
64
65              Update the release notes from the content of a file
66              $ gh release edit v1.0 --notes-file /path/to/release_notes.md
67
68
69
70
71

SEE ALSO

73       gh-release(1)
74
75
76
77                                   Jan 2023                 GH-RELEASE-EDIT(1)
Impressum