bump-tag

1.1.0 • Public • Published

bump-tag Build Status

Increment version in your package.json and add git tag to the repo.

I have created this cli mainly because I keep forgetting to add tag when I bump the version.

Install

npm install --global bump-tag

Sample usage

$ nmq --help
 
Usage:
  $ bump
 
Options:
  $ bump -t=major -i=4 -g=0
  $ bump --type=major --indentation=4
  $ bump --type=major --indentation=tab
  $ bump --type=major --indentation=tab --git=0
  $ bump major
  $ bump minor

Options

type

Type: String
Default: 'patch'

Major, Minor or Patch. Check node-semver inc release parameter.

indentation

Type: String
Default: 2

Indentation for the package.json

git

Type: Number
Default: 1

Enable/disable adding git tags

License

MIT © Daniel Husar

Readme

Keywords

Package Sidebar

Install

npm i bump-tag

Weekly Downloads

1

Version

1.1.0

License

none

Last publish

Collaborators

  • efrafa