Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cesarferreira/interactive-git-tag

:octocat: Interactive tool that helps with your git tagging by suggesting versions
https://github.com/cesarferreira/interactive-git-tag

git node npm tag

Last synced: 24 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# Interactive git tag
[![Build Status](https://travis-ci.org/cesarferreira/interactive-git-tag.svg?branch=master)](https://travis-ci.org/cesarferreira/interactive-git-tag)
[![npm](https://img.shields.io/npm/dt/interactive-git-tag.svg)](https://www.npmjs.com/package/interactive-git-tag)
[![npm](https://img.shields.io/npm/v/interactive-git-tag.svg)](https://www.npmjs.com/package/interactive-git-tag)

> 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

```sh
$ npm install -g interactive-git-tag
```

## Usage

```
Usage

$ tag

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](https://github.com/sindresorhus)'s [np](https://github.com/sindresorhus/np) - A better `npm publish` tool

## Maintainers

- [Cesar Ferreira](http://cesarferreira.com)

## License

MIT