Semantic versioning for grunt

npm install grunt-semver
4 downloads in the last day
15 downloads in the last week
77 downloads in the last month

Build Status NPM version


Semantic versioner for grunt

Getting Started

This plugin requires Grunt ~0.4.0

If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:

npm install grunt-semver --save-dev

One the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:


The "grunt-semver" task


In your project's Gruntfile, add a section named semver to the data object passed into grunt.initConfig().

  "semver": {
    "options": {
      // Task-specific options go here.
    "your_target": {
      // Target-specific file lists and/or options go here.


Type: String
Default value: \t

A string value that is used to format the output JSON


In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.

Release History

0.1.6 - Further cleanup. Added support for strip
0.1.5 - Externalize common code to separat modules
0.1.4 - Added support for cli arguments
0.1.3 - Added support for event 0.1.2 - Added verbose logging
0.1.1 - Added support for templated arguments
0.1.0 - First somewhat stable release
0.0.3 - Nothing to important
0.0.2 - Added support for build
0.0.1 - First release

npm loves you