Skip to content

electron publish.Class.BitbucketPublisher

Electron-Builder / electron-publish / BitbucketPublisher

Extends

Constructors

new BitbucketPublisher()

new BitbucketPublisher(context, info): BitbucketPublisher

Parameters

context: PublishContext

info: BitbucketOptions

Returns

BitbucketPublisher

Overrides

HttpPublisher.constructor

Properties

context

protected readonly context: PublishContext

Inherited from

HttpPublisher.context


hostname

readonly hostname: "api.bitbucket.org" = "api.bitbucket.org"


providerName

readonly providerName: "bitbucket" = "bitbucket"

Overrides

HttpPublisher.providerName

Methods

createProgressBar()

protected createProgressBar(fileName, size): null | ProgressBar

Parameters

fileName: string

size: number

Returns

null | ProgressBar

Inherited from

HttpPublisher.createProgressBar


createReadStreamAndProgressBar()

protected createReadStreamAndProgressBar(file, fileStat, progressBar, reject): ReadableStream

Parameters

file: string

fileStat: Stats

progressBar: null | ProgressBar

reject

Returns

ReadableStream

Inherited from

HttpPublisher.createReadStreamAndProgressBar


deleteRelease()

deleteRelease(filename): Promise<void>

Parameters

filename: string

Returns

Promise<void>


doUpload()

protected doUpload(fileName, _arch, _dataLength, _requestProcessor, file): Promise<any>

Parameters

fileName: string

_arch: Arch

_dataLength: number

_requestProcessor

file: string

Returns

Promise<any>

Overrides

HttpPublisher.doUpload


toString()

toString(): string

Returns

string

Overrides

HttpPublisher.toString


upload()

upload(task): Promise<any>

Parameters

task: UploadTask

Returns

Promise<any>

Inherited from

HttpPublisher.upload


convertAppPassword()

static convertAppPassword(username, token): string

Parameters

username: string

token: string

Returns

string