@kibibit/branch-it

1.2.0 • Public • Published

@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
Neil Kalman

🚇 🎨 💻

License

MIT © 2019 Neil Kalman Neilkalman@gmail.com

Readme

Keywords

none

Package Sidebar

Install

npm i @kibibit/branch-it

Weekly Downloads

9

Version

1.2.0

License

MIT

Unpacked Size

5.99 kB

Total Files

5

Last publish

Collaborators

  • k1b1b0t
  • thatkookooguy
  • zimgil
  • or.tichon