foundry-release-require-branch
v0.0.2
Published
Requires git branch be a specific name, otherwise foundry release process bails.
Downloads
1
Maintainers
Readme
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'