The Bitbucket Pipelines condition for go-semantic-release.
This plugin will make sure that the continuous integration environment conditions are met. Namely that the release is happening within Bitbucket Pipelines and is on the correct branch.
To use this plugin you need to include the following block in your
.semrelrc
file.
{
"plugins": {
"ci-condition": {
"name": "bitbucket@^1.0.0",
// Options can be omitted if you want to use the defaults.
// See the section on configuration below.
"options": {
// Put configuration options here
}
}
}
}
Name | Default Value | Description |
---|---|---|
defaultBranch | master | The branch where deployments should happen. |
Copyright © 2021 James Durand