semantic-release-bitrise
TypeScript icon, indicating that this package has built-in type declarations

1.2.1 • Public • Published

semantic-release-bitrise

semantic-release plugin to start builds on bitrise

npm

Step Description
success Start a new build on bitrise

Install

Add the plugin to your npm-project:

$ npm install --save-dev semantic-release-bitrise

Usage

The plugin can be configured in the semantic-release configuration file:

{
    "plugins": [
        "@semantic-release/commit-analyzer",
        "@semantic-release/release-notes-generator",
        [
            "semantic-release-bitrise",
            {
                "appSlug": "1234abcd"
            }
        ]
    ]
}

Configuration

Environment variables

The BITRISE_ACCESS_TOKEN variable needs to be defined in the environment where you will run semantic release. Copy and past the token to authenticate with bitrise value to this variable.

Options

Option Description Required Default
appSlug The AppSlug from bitrise yes -
workflowId Sets the id of the workflow to run on bitrise. If none given the default trigger map will be used no -
workflowIdMap Sets the id of the workflow to run on bitrise based on a branch. If none given the default trigger map will be used no -

Examples

Setting a specific workflow

{
    "plugins": [
        "@semantic-release/commit-analyzer",
        "@semantic-release/release-notes-generator",
        [
            "semantic-release-bitrise",
            {
                "appSlug": "1234abcd",
                "workflowId": "ios-production"
            }
        ]
    ]
}

Setting a specific workflow for a specific branch name

{
    "plugins": [
        "@semantic-release/commit-analyzer",
        "@semantic-release/release-notes-generator",
        [
            "semantic-release-bitrise",
            {
                "appSlug": "1234abcd",
                "workflowIdMap": {
                    "main": "ios-production",
                    "develop": "ios-stage"
                }
            }
        ]
    ]
}

Package Sidebar

Install

npm i semantic-release-bitrise

Weekly Downloads

89

Version

1.2.1

License

MIT

Unpacked Size

18.7 kB

Total Files

15

Last publish

Collaborators

  • berniwittmann