Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/webcaetano/git-bump-cli

CLI for update package.json version and git tag it
https://github.com/webcaetano/git-bump-cli

bump cli nodejs npm package semver utils version

Last synced: 27 days ago
JSON representation

CLI for update package.json version and git tag it

Awesome Lists containing this project

README

        

# git-bump-cli

[![NPM version][npm-image]][npm-url]
[![Build status][travis-image]][travis-url]

> Bump package.json version and git tags it

## Installation

```
npm install git-bump-cli --save
```

## CLI

```
npm install git-bump-cli -g
```

```
Usage
$ bump
$ bump patch // 1.0.1
$ bump minor // 1.1.0
$ bump major // 2.0.0
```

## Node Usage

```
var bump = require('git-bump-cli');
var type = 'major';
var options = {
files:['bower.json','package.json'],
message:'new version'
}

bump(type,options,callback);
```

## License

MIT

[npm-image]: https://img.shields.io/npm/v/git-bump-cli.svg?style=flat-square
[npm-url]: https://npmjs.org/package/git-bump-cli
[travis-image]: https://img.shields.io/travis/webcaetano/git-bump-cli.svg?style=flat-square
[travis-url]: https://travis-ci.org/webcaetano/git-bump-cli