Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/itsnickbarry/npm-git-version-tagger

Automatically tag git commits with NPM release versions 🏷️
https://github.com/itsnickbarry/npm-git-version-tagger

git npm release tag tagger version wow

Last synced: 18 days ago
JSON representation

Automatically tag git commits with NPM release versions 🏷️

Awesome Lists containing this project

README

        

# NPM Git Version Tagger

> This package no longer functions because the NPM API no longer returns the gitHead attribute; maintenance is discontinued.

Automatically add git version tags to NPM package repositories.

Works for repositories in registry `https://registry.npmjs.org/`.

## Usage

Install the CLI globally:

```
npm install -g npm-git-version-tagger
```

Navigate to a local git repository corresponding to an NPM package with release history.

Run the CLI to add tags to the local repository:

```
npm-git-version-tagger
```

Follow the printed instructions to push tags to a remote repository:

```
git push --tags
```