From 3ac91be9a575c0c129d6d7cd4bbc383f1a31fba8 Mon Sep 17 00:00:00 2001 From: Adrien Gallou Date: Wed, 19 Feb 2014 21:41:47 +0100 Subject: [PATCH] use Grunt to bump versions --- .gitignore | 1 + Gruntfile.js | 21 +++++++++++++++++++++ package.json | 7 +++++++ 3 files changed, 29 insertions(+) create mode 100644 .gitignore create mode 100644 Gruntfile.js create mode 100644 package.json diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..07e6e47 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/node_modules diff --git a/Gruntfile.js b/Gruntfile.js new file mode 100644 index 0000000..6da468d --- /dev/null +++ b/Gruntfile.js @@ -0,0 +1,21 @@ +module.exports = function(grunt) { + + grunt.initConfig({ + + bump: { + options: { + files: ['bower.json', 'highchartTable.jquery.json', 'package.json'], + commit: true, + commitMessage: 'Release v%VERSION%', + commitFiles: ['bower.json', 'highchartTable.jquery.json', 'package.json'], + createTag: true, + tagName: '%VERSION%', + tagMessage: 'Version %VERSION%', + push: false + } + } + + }); + grunt.loadNpmTasks('grunt-bump'); + +}; diff --git a/package.json b/package.json new file mode 100644 index 0000000..6f46ef4 --- /dev/null +++ b/package.json @@ -0,0 +1,7 @@ +{ + "name": "highchartTable", + "version": "1.0.3", + "devDependencies": { + "grunt-bump": "0.0.13" + } +}