WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 3ac91be

Browse files
committed
use Grunt to bump versions
1 parent a56045c commit 3ac91be

File tree

3 files changed

+29
-0
lines changed

3 files changed

+29
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/node_modules

Gruntfile.js

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
module.exports = function(grunt) {
2+
3+
grunt.initConfig({
4+
5+
bump: {
6+
options: {
7+
files: ['bower.json', 'highchartTable.jquery.json', 'package.json'],
8+
commit: true,
9+
commitMessage: 'Release v%VERSION%',
10+
commitFiles: ['bower.json', 'highchartTable.jquery.json', 'package.json'],
11+
createTag: true,
12+
tagName: '%VERSION%',
13+
tagMessage: 'Version %VERSION%',
14+
push: false
15+
}
16+
}
17+
18+
});
19+
grunt.loadNpmTasks('grunt-bump');
20+
21+
};

package.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"name": "highchartTable",
3+
"version": "1.0.3",
4+
"devDependencies": {
5+
"grunt-bump": "0.0.13"
6+
}
7+
}

0 commit comments

Comments
 (0)