Electron Forge
GitHub
Discord
Search…
V6
Getting Started
Import Existing Project
Configuration
CLI
Built-in Templates
TypeScript
TypeScript + Webpack
Webpack
Forge Configuration
Plugins
Makers
Publishers
Bitbucket
Electron Release Server
GitHub
Nucleus
S3
Snapcraft
Guides
Electron Guides
Framework Integration
Developing with WSL
Advanced
Auto Update
Debugging
Extending Electron Forge
API Docs
Powered By
GitBook
Bitbucket
The Bitbucket publish target allows you to publish your artifacts 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
1
{
2
"name"
:
"@electron-forge/publisher-bitbucket"
,
3
"config"
:
{
4
"repository"
:
{
5
"owner"
:
"myusername"
,
6
"name"
:
"myreponame"
7
},
8
"auth"
:
{
9
"username"
:
"myusername"
,
10
"appPassword"
:
"mysecretapppassword"
11
}
12
}
Copied!
Alternatively you can (and should) use environment variables for the authentication
env.sh
1
BITBUCKET_USERNAME
=
"myusername"
2
BITBUCKET_APP_PASSWORD
=
"mysecretapppassword"
Copied!
1
$
source
env.sh
Copied!
Forge Configuration - Previous
Publishers
Next
Electron Release Server
Last modified
1yr ago
Copy link
Edit on GitHub
Contents
Usage