0.0.2 • Published 9 years ago
foundry-release-require-branch v0.0.2
foundry-release-require-branch
Forces releases to happen on a specific branch.
Install
npm i foundry-release-require-branch --save-devUsage
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'
0.0.2
9 years ago