dotnet-sdk
dotnet-sdk copied to clipboard
[FEAT]: Friendly API for uploading release assets
Describe the need
I might have missed it, but there doesn't appear to be a friendly API for uploading release assets. In Octokit, this was done like so:
var releaseApi = ghc.Repository.Release;
var release = await releaseApi.Get(...);
await releaseApi.UploadAsset(release, new ReleaseAssetUpload(zipFileName, MediaTypeNames.Application.Zip, stream, timeout));
It would be nice if Octokit.NET.SDK had something similar rather than requiring me to make a manual request using the Release.UploadUrl
.
SDK Version
v0.0.3
API Version
No response
Code of Conduct
- [X] I agree to follow this project's Code of Conduct