@electron-forge/publisher-bitbucket
v7.6.0
Published
Bitbucket publisher for Electron Forge
Downloads
174
Keywords
Readme
Electron Forge: publisher-bitbucket
@electron-forge/publisher-bitbucket
publishes your artifacts 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.
Configuration options are documented in PublisherBitbucketConfig
.
module.exports = {
// ...
publishers: [
{
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