Bitbucket

Last updated 5 months ago

The Bitbucket publish target allows you to publish your artefacts directly to Bitbucket where users will be able to download them.

This publish target is for Bitbucket Cloud only and will not work with self hosted Bitbucket Server instances.

Full configuration options are documented in PublisherBitbucketConfig.

Usage

{
"name": "@electron-forge/publisher-bitbucket",
"config": {
"repository": {
"owner": "myusername",
"name": "myreponame"
},
"auth": {
"username": "myusername",
"appPassword": "mysecretapppassword"
}
}

Alternatively you can (and should) use environment variables for the authentication

env.sh
BITBUCKET_USERNAME="myusername"
BITBUCKET_APP_PASSWORD="mysecretapppassword"
$ source env.sh

‚Äč