2025-03-14 21:59:59 -06:00
|
|
|
# gh release
|
|
|
|
|
|
|
|
|
|
> Manage GitHub releases.
|
|
|
|
|
> More information: <https://cli.github.com/manual/gh_release>.
|
|
|
|
|
|
|
|
|
|
- List releases in a GitHub repository, limited to 30 items:
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`gh release {{[ls|list]}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Display information about a specific release:
|
|
|
|
|
|
|
|
|
|
`gh release view {{tag}}`
|
|
|
|
|
|
|
|
|
|
- Create a new release:
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`gh release {{[new|create]}} {{tag}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- 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 ...}}`
|