import { ReleaseClient } from "https://deno.land/x/kd_clients@v1.0.0-preview.14/GitHubClients/mod.ts";
Provides a client for interacting with GitHub releases.
Constructors
Initializes a new instance of the ReleaseClient class.
Methods
Gets the given page where each page quantity is the given qtyPerPage, for a repository with a name that matches the given ReleaseClient.this.repoName,
Normalizes the given path by removing any trailing slashes and converting backslashes to forward slashes.
Uploads a file as a release asset at the given filePath to a release that matches the given releaseId.
Returns a value indicating whether a release with an id or tag matches the given releaseIdOrTag, and a release asset with an id or name matches the given assetIdOrName.
Deletes an asset with an id or name that matches the given assetIdOrName, from a release with an id or tag that matches the given releaseIdOrTag.
Downloads all assets for a release with the given tagName to the given dirPath.
Downloads all assets for a release with the given tagName to the given dirPath.
Downloads all assets for the latest non-prerelease and non-draft release, to the given dirPath.
Downloads an asset with an id that matches the given assetId to the given dirPath.
Gets all assets for a release with the given releaseTagName.
Gets all releases for a repository.
Gets a single asset with an id or name that matches the given assetIdOrName, for a release with an id or tag that matches the given releaseIdOrTag.
Gets the latest release.
Gets a release with and id that matches the given releaseId.
Gets a release with a name that matches the given release name.
Gets a release with and id that matches the given releaseId.
Gets the given page where each page quantity is the given qtyPerPage, for a repository with a name that matches the given ReleaseClient.this.repoName,
Returns a value indicating whether or not a release is tied to a tag that matches the given tagName, for a repository with a name that matches the given ReleaseClient.this.repoName.
Updates a release with the given text where the release has the given id.
Updates a release with the given text where the release is for the given tag.
Uploads an asset to a release that matches a tag or id by the given releaseIdOrTag.
Uploads one or more assets to a release with a name that matches the given name.
Uploads one or more assets to a release with a name that matches the given tag.