2.0.3 • Published 5 years ago

taggit v2.0.3

Weekly downloads
99
License
MIT
Repository
github
Last release
5 years ago

taggit

Build Status Code Climate Code Coverage npm Version

Create a tag on remote git with version number in package.json (or bower.json)

Installation

npm install taggit --save-dev

Usage

Call taggit() at project root path where package.json exists.

'use strict'

let basedir = __dirname;
process.chdir(basedir) //Move to project root.

const taggit = require('taggit')

// Create remote git tag named with package.json version. (eg. v1.0.0)
taggit({
    // Options
}, (err) => {
    /*...*/
})

Options

KeyDefaultDescription
tagName of tag. By default, name is resolved form package.json.
cwdWorking directory path.

Using with CLI

Install as a global module.

$ npm install taggit -g

Then,

$ taggit -t "v0.0.5"

License

This software is released under the MIT License.

2.0.3

5 years ago

2.0.2

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago

1.4.0

8 years ago

1.3.1

9 years ago

1.3.0

9 years ago

1.2.1

9 years ago

1.2.0

9 years ago

1.1.1

9 years ago

1.1.0

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago