HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

gh release — Manage GitHub releases. More information: <https://cli.github.com/manual/gh_release>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandgithubclimanageinformationreleasesgh releasemore

Problem

How to use the gh release command: Manage GitHub releases. More information: <https://cli.github.com/manual/gh_release>.

Solution

gh release — Manage GitHub releases. More information: <https://cli.github.com/manual/gh_release>.

List releases in a GitHub repository, limited to 30 items:
gh release {{[ls|list]}}


Display information about a specific release:
gh release view {{tag}}


Create a new release:
gh release {{[new|create]}} {{tag}}


Delete a specific release:
gh release delete {{tag}}


Download assets from a specific release:
gh release download {{tag}}


Upload assets to a specific release:
gh release upload {{tag}} {{path/to/file1 path/to/file2 ...}}

Code Snippets

List releases in a GitHub repository, limited to 30 items

gh release {{[ls|list]}}

Display information about a specific release

gh release view {{tag}}

Create a new release

gh release {{[new|create]}} {{tag}}

Delete a specific release

gh release delete {{tag}}

Download assets from a specific release

gh release download {{tag}}

Context

tldr-pages: common/gh release

Revisions (0)

No revisions yet.