Skip to main content

GiteaSource class

Retrieves available releases from a Gitea repository.

class GiteaSource

Constructors​

ConstructorSummary
constructorCreate a new GiteaSource.

constructor(repoUrl, accessToken, prerelease)​

constructor(repoUrl: string, accessToken?: string, prerelease?: boolean)

Create a new GiteaSource.

Parameters

NameTypeDescription
repoUrlstringThe URL of the Gitea repository (e.g. "https://gitea.com/myuser/myrepo").
accessTokenstringOptional Gitea access token (sent as Authorization: token {token}). (optional)
prereleasebooleanIf true, pre-releases will also be searched/downloaded. (optional)

Properties​

PropertySummary
accessToken
prerelease
repoUrl

accessToken​

accessToken: string

readonly

prerelease​

prerelease: boolean

readonly

repoUrl​

repoUrl: string

readonly


Generated from velopack 1.2.110-ge826545