GithubSource class
Retrieves available releases from a GitHub repository. Supports both github.com and GitHub Enterprise instances.
class GithubSource
Constructors
| Constructor | Summary |
|---|---|
constructor | Create a new GithubSource. |
constructor(repoUrl, accessToken, prerelease)
constructor(repoUrl: string, accessToken?: string, prerelease?: boolean)
Create a new GithubSource.
Parameters
| Name | Type | Description |
|---|---|---|
repoUrl | string | The URL of the GitHub repository (e.g. "https://github.com/myuser/myrepo"). |
accessToken | string | Optional GitHub access token. Without one, requests are rate limited to 60/hr per IP. (optional) |
prerelease | boolean | If true, pre-releases will also be searched/downloaded. (optional) |
Properties
| Property | Summary |
|---|---|
accessToken | |
prerelease | |
repoUrl |
accessToken
accessToken: string
readonly
prerelease
prerelease: boolean
readonly
repoUrl
repoUrl: string
readonly
Generated from velopack 1.2.110-ge826545