Skip to content

luscus/bumper2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Bumper

Install globally to update your package.json and bower.json files instantly with one command.

Install

npm install bumper2 -g

Example

$bump r
package.json version:   0.0.2
bower.json: not found
---------------------------------
New version:            0.0.3

Usage

$ bump r
#0.0 --> 0.1
#0.0.0 --> 0.0.1
#0.0.0.0 --> 0.0.0.1

$ bump major
#0.0.0 --> 1.0.0

$ bump minor
#0.0.0 --> 0.1.0

$ bump build
#0.0.0.0 --> 0.0.1.0

Bonus Feature: Git Tagging

Reads current version number and creates a tag in git and saves it to master

$ bump tag
[--BUMPER--]
package.json version:   0.1.2
bower.json: not found
git tag -a v0.1.2 -m "Bumped to version v0.1.2"

git push --tags
To git@github.com:
 * [new tag]         v0.1.2 -> v0.1.2

About

Updates package and bower version numbers in your project.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%