-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cli tool #2
Comments
Via gh-release |
@mafintosh yes, meant to be used via gh-release. Although I guess I could write a quick cli for it to do just this component. That's a pretty good idea! |
Just to make sure, you mean you want to upload something to an existing release without creating a new release, right? |
Will be nice to have 👍. If the CLI comes with regex support for those asset paths, it will be a nice addition as well. Also, suggest that the CLI can read the GitHub token from some environment variable to prevent hardcoding the token anywhere in the release script. Here's some info on my use-case:
Will start trying out using the current gh-release-assets API to do it in the meantime. |
Only existing solution I can think of would be to use shell expansion and join the results with commas. Otherwise adding glob expressions to gh-release's assets flag would be the best way to do this I imagine. This wouldn't be too hard, but low priority personally so I will unlike work on that any time soon. I would consider a PR. |
You may also consider using a github action: https://github.com/actions/upload-release-asset But that is actions specific. |
Thanks for the suggestion @bcomnes. I was able to work with the current programmatic API to upload the assets. (Used octokit/rest to get the |
i was just looking for something exactly like this! i need to use it from the command line though. would be cool if this supported command line usage 👍
The text was updated successfully, but these errors were encountered: