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#uploadAsset

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

Uploads an asset to a release that matches a tag or id by the given releaseIdOrTag.

Parameters

releaseIdOrTag: number | string

The release id or tag name.

filePath: string

The fully qualified or relative path to the asset to upload.

optional
overwrite: boolean

True to overwrite the asset if it exists, otherwise false.

Returns

Promise<void>