version-bump-plugin-git
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

version-bump-plugin-git

npm version CircleCI

A version strategy for version-bump.

Uses the last git commit subject to determine the bump level. Will bump based on the following text:

  • [major]
  • [minor]
  • [patch]
  • [pre-major]
  • [pre-minor]
  • [pre-patch]
  • [pre-release]
  • [build-release]

Default is the lowest version possible.

Install

Make sure you have version-bump installed, then install the strategy with:

npm i version-bump-plugin-git --dev

Usage

From command line:

$ version-bump git-commit-msg

As a config file:

// save as .version-bump.js in the root of your project
module.exports = {
  strategy: 'git-commit-subj'
}

/version-bump-plugin-git/

    Package Sidebar

    Install

    npm i version-bump-plugin-git

    Weekly Downloads

    8

    Version

    2.0.1

    License

    MIT

    Unpacked Size

    12.7 kB

    Total Files

    10

    Last publish

    Collaborators

    • gravity.bot
    • theo.gravity