electron publish.Class.BitbucketPublisher
Electron-Builder / electron-publish / BitbucketPublisher
Extends¶
Constructors¶
new BitbucketPublisher()¶
new BitbucketPublisher(
context
,info
):BitbucketPublisher
Parameters¶
• context: PublishContext
• info: BitbucketOptions
Returns¶
Overrides¶
Properties¶
context¶
protected
readonly
context:PublishContext
Inherited from¶
hostname¶
readonly
hostname:"api.bitbucket.org"
="api.bitbucket.org"
providerName¶
readonly
providerName:"bitbucket"
="bitbucket"
Overrides¶
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¶
toString()¶
toString():
string
Returns¶
string
Overrides¶
upload()¶
upload(
task
):Promise
<any
>
Parameters¶
• task: UploadTask
Returns¶
Promise
<any
>
Inherited from¶
convertAppPassword()¶
static
convertAppPassword(username
,token
):string
Parameters¶
• username: string
• token: string
Returns¶
string