Skip to content
Grunt.js plugin - Increment package version.
JavaScript
Pull request Compare This branch is 152 commits behind vojtajina:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
tasks
test
.npmignore
.travis.yml
README.md
grunt.js
package.json

README.md

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
Something went wrong with that request. Please try again.