Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/kd_clients/GitHubClients/mod.ts>ReleaseClient#uploadAssetInternal

Various HTTP clients for miscellaneous use.
Go to Latest
method ReleaseClient.prototype.uploadAssetInternal
import { ReleaseClient } from "https://deno.land/x/kd_clients@v1.0.0-preview.12/GitHubClients/mod.ts";

Uploads a file as a release asset at the given filePath to a release that matches the given releaseId.

Parameters

filePath: string

The path of the file to upload.

releaseId: number

The id of the release to upload the file to.

Returns

Promise<void>

An asynchronous promise of the operation.