foundry-release-require-branch

0.0.2 • Public • Published

foundry-release-require-branch

Forces releases to happen on a specific branch.

Install

npm i foundry-release-require-branch --save-dev

Usage

In your package.json:

...

"foundry": {
    "releaseCommands": [
        ...
        {
            "type": "releaseCommand",
            "command": "foundry-release-require-branch",
            "options": {
                "branchName": "master"
            }
        },
        ...
    ]
}
...

Where options.branchName is the name of the branch you require before a foundry continues past the foundry-release-require-branch step.

Without options, it defaults to options.branchName === 'master'

Package Sidebar

Install

npm i foundry-release-require-branch

Weekly Downloads

1

Version

0.0.2

License

MIT

Last publish

Collaborators

  • fusion-npm