-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Closed
Labels
enhancementa request to improve CLIa request to improve CLIneeds-designAn engineering task needs design to proceedAn engineering task needs design to proceed
Description
Describe the feature or problem you’d like to solve
Excited to see this new cli. It will be great if we can manage assets and releases/tags etc with this.
Proposed solution
How will it benefit CLI and its users?
Usecase:
As a developer, I maintain the development and pre-release/release of the executable (Linux /mac os). I use this https://www.npmjs.com/package/pkg to create the executable.
It would be nice to have it in github-cli so that:
- I can get the list of tags/branches exist in a repo
- I can manage an asset i.e tag/name of the asset.
- I can upload the asset to the repo release.
- I can manage the type of release i.e release/pre-release
- I can manage the description
- I should be able to delete the asset.
gh list branches --user <user> --repo <repo>
gh list tags --user <user> --repo <repo>
gh release create --user <user> --repo <repo> --tag <tag> --name <name> --description <desc> --pre-release
gh release edit --user <user> --repo <repo> --tag <tag> --name <name> --description <desc> --prelease
gh release upload --user <user> --repo <repo> --tag <tag> --name <name> --file <path to the file>
gh release delete --user <user> --repo <repo> --tag <tag> (or --assetID <assetID>)
user and repo name are optional as it can be derived from .git files.
Additional context
Reference: https://github.com/aktau/github-release
WorkForPizza, kumarrishav, sreetamdas, ocdtrekkie, matsubara0507 and 15 more
Metadata
Metadata
Assignees
Labels
enhancementa request to improve CLIa request to improve CLIneeds-designAn engineering task needs design to proceedAn engineering task needs design to proceed