Options
All
  • Public
  • Public/Protected
  • All
Menu

Module @electron-forge/publisher-bitbucket

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

Index

References

Re-exports PublisherBitbucket