@kibibit/branch-it
update branch and tag references for semantic-release
This was written in order to automate & simplify our @next and @stable releases
Installation
npm install --save-dev @kibibit/branch-it
Usage
On your deployment platform, before running your semantic-release command, run the following:
npx branch-it
Options
Options can either be set through the package.json
file or as command line flags:
npx branch-it --tag tagName --branch branchName
OR
npx branch-it --t tagName --b branchName
OR
npx branch-it
with this in the package.json
:
"release": {
// shares the same space as semantic-release
"versionMapping": {
"master": "stable",
"develop": "next"
}
}
Contributing
If you have suggestions for how tdd1t could be improved, or want to report a bug, open an issue! We'd love all and any contributions.
For more, check out the Contributing Guide.
Contributors
Neil Kalman |
License
MIT © 2019 Neil Kalman Neilkalman@gmail.com