Skip to content

🪣 Bitbucket Pipelines CI condition plugin for semantic-release

License

Notifications You must be signed in to change notification settings

go-semantic-release/condition-bitbucket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

✅ condition-bitbucket

CI Go Report Card PkgGoDev

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.

Usage

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
            }
        }
    }
}

Configuration

Name Default Value Description
defaultBranch master The branch where deployments should happen.

Licence

The MIT License (MIT)

Copyright © 2021 James Durand