1.0.2 • Published 7 months ago

@johnshopkins/tag-bump v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

tagbump

Bumps the version of a package, optionally creating the git tag and updating composer.json and/or package.json files.

Installation

npm install -g @johnshopkins/tag-bump

Usage

In the root of a project with a Git repository, run the following command to bump the version:

$ tagbump <major|minor|bugfix>

You will be prompted with a couple questions: 1. Updated composer.json and/or package.json? (y): Responding y (default) updates the composer.json and/or package.json files with the new version, but only if the version attribute is already present. 1. Create the tag now? (y): Responding y (default) creates the tag with Git. 1. Tag message (Version x.y.z): Optionally customize the tag message. The default is Version x.y.z.

-y option

$ tagbump -y <major|minor|bugfix>

Pass the -y option to automatically use the defaults:

  • Updates composer.json and/or package.json
  • Creates the tag with the default tag message
1.0.2

7 months ago

1.0.1

7 months ago

1.0.0

7 months ago