https://github.com/go-semantic-release/condition-bitbucket
🪣 Bitbucket Pipelines CI condition plugin for semantic-release
https://github.com/go-semantic-release/condition-bitbucket
bitbucket bitbucket-pipelines go-semantic-release release
Last synced: 9 days ago
JSON representation
🪣 Bitbucket Pipelines CI condition plugin for semantic-release
- Host: GitHub
- URL: https://github.com/go-semantic-release/condition-bitbucket
- Owner: go-semantic-release
- License: mit
- Created: 2021-03-14T17:08:18.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-10-13T16:23:48.000Z (8 months ago)
- Last Synced: 2024-11-16T08:11:40.487Z (7 months ago)
- Topics: bitbucket, bitbucket-pipelines, go-semantic-release, release
- Language: Go
- Homepage:
- Size: 128 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: Readme.md
- License: License.md
Awesome Lists containing this project
README
# :white_check_mark: condition-bitbucket
[](https://github.com/go-semantic-release/condition-bitbucket/actions?query=workflow%3ACI+branch%3Amain)
[](https://goreportcard.com/report/github.com/go-semantic-release/condition-bitbucket)
[](https://pkg.go.dev/github.com/go-semantic-release/condition-bitbucket)The Bitbucket Pipelines condition for
[go-semantic-release](https://github.com/go-semantic-release/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.## Usage
To use this plugin you need to include the following block in your
`.semrelrc` file.```json
{
"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
}
}
}
}
```### Configuration
| Name | Default Value | Description |
|:--------------:|:-------------:|:-------------------------------------------:|
| defaultBranch | master | The branch where deployments should happen. |## Licence
The [MIT License (MIT)](http://opensource.org/licenses/MIT)
Copyright © 2021 [James Durand](https://github.com/durandj)