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
.
{"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.shBITBUCKET_USERNAME="myusername"BITBUCKET_APP_PASSWORD="mysecretapppassword"
$ source env.sh