Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@theo.gravity/version-bump-plugin-cli

theogravity27MIT0.0.8

cli plugin for the @theo.gravity/version-bump tool

readme

version-bump-plugin-git

A versioning 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

$ version-bump git-commit-msg