interactive-git-tag icon indicating copy to clipboard operation
interactive-git-tag copied to clipboard

:octocat: Interactive tool that helps with your git tagging by suggesting versions

Interactive git tag

Build Status npm npm

Interactive tool that helps with your git tagging by suggesting versions

After it pushes the tag it opens a prefilled GitHub Releases draft with the list of commits since the previous tag.

Install

$ npm install -g interactive-git-tag

Usage

Usage

    $ tag <version>

    Version can be:
      patch | minor | major | prepatch | preminor | premajor | prerelease
 
 Examples

    $ tag
    $ tag patch
    $ tag major
    $ tag prepatch
    $ tag premajor
    $ tag prerelease
    $ tag notes               # shows the list of commits since the last tag was pushed
    $ tag commits             # shows the list of commits since the last tag was pushed
    $ tag notes 0.5.1 1.0.0   # shows the list of commits between 0.5.1 and 1.0.0
    $ tag notes 0.5.1         # shows the list of commits between 0.5.1 and HEAD
    

Interactive UI

Run tag without arguments to launch the interactive UI that guides you through pushing a new tag.

Shoutout

Inspired by the amazing sindresorhus's np - A better npm publish tool

Maintainers

License

MIT