ajpiano / grunt-bump

Grunt.js plugin - Increment package version.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

build status

grunt-bump

Bump package version.

Installation

Install npm package, next to your project's grunt.js file:

npm install grunt-bump

Add this line to your project's grunt.js:

grunt.loadNpmTasks('grunt-bump');

Usage

Let's say current version is 0.0.1.

grunt bump
>> Version bumped to 0.0.2

grunt bump:patch
>> Version bumped to 0.0.3

grunt bump:minor
>> Version bumped to 0.1.0

grunt bump
>> Version bumped to 0.1.1

grunt bump:major
>> Version bumped to 1.0.0

About

Grunt.js plugin - Increment package version.


Languages

Language:JavaScript 100.0%