'use strict';

module.exports = function (grunt) {
    grunt.registerTask('release', 'Create and tag a release',
        function () {
            grunt.task.run(['checkbranch:master', 'compile', 'bump']);
        }
    );
};

module.exports = function (grunt) {
  'use strict';
  grunt.registerTask('release', 'Create and tag a release',
    function (increment) {
      var bump = 'bump:' + (increment || 'patch');
      grunt.task.run(['checkbranch:master', 'compile', bump]);
    }
  );
};

Add version increment option to release task.
Add version increment option to release task.
