2020-10-24 14:09:49 +01:00
|
|
|
# gh release
|
|
|
|
|
2023-07-16 18:23:40 +01:00
|
|
|
> Manage GitHub releases.
|
2020-10-24 14:09:49 +01:00
|
|
|
> More information: <https://cli.github.com/manual/gh_release>.
|
|
|
|
|
|
|
|
- List releases in a GitHub repository, limited to 30 items:
|
|
|
|
|
|
|
|
`gh release list`
|
|
|
|
|
|
|
|
- Display information about a specific release:
|
|
|
|
|
|
|
|
`gh release view {{tag}}`
|
|
|
|
|
|
|
|
- Create a new release:
|
|
|
|
|
|
|
|
`gh release 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:
|
|
|
|
|
2023-05-04 03:58:02 +01:00
|
|
|
`gh release upload {{tag}} {{path/to/file1 path/to/file2 ...}}`
|