Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/webcaetano/git-bump-cli
- Owner: webcaetano
- License: mit
- Created: 2017-07-14T02:12:10.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-07-31T19:25:32.000Z (over 7 years ago)
- Last Synced: 2024-12-20T02:35:21.093Z (about 1 month ago)
- Topics: bump, cli, nodejs, npm, package, semver, utils, version
- Language: JavaScript
- Size: 24.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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