mirror of
https://github.com/Cornelicorn/bullet-train.zsh.git
synced 2025-12-06 11:50:38 +01:00
Adds grunt bump
This commit is contained in:
18
Gruntfile.js
18
Gruntfile.js
@@ -2,9 +2,27 @@ module.exports = function(grunt) {
|
|||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
grunt.loadNpmTasks('grunt-lintspaces');
|
grunt.loadNpmTasks('grunt-lintspaces');
|
||||||
|
grunt.loadNpmTasks('grunt-bump');
|
||||||
|
|
||||||
var config = {};
|
var config = {};
|
||||||
|
|
||||||
|
config.bump = {
|
||||||
|
options: {
|
||||||
|
files: ['package.json'],
|
||||||
|
updateConfigs: [],
|
||||||
|
commit: true,
|
||||||
|
commitMessage: 'Release v%VERSION%',
|
||||||
|
commitFiles: ['package.json'],
|
||||||
|
createTag: true,
|
||||||
|
tagName: 'v%VERSION%',
|
||||||
|
tagMessage: 'Version %VERSION%',
|
||||||
|
push: true,
|
||||||
|
pushTo: 'origin',
|
||||||
|
gitDescribeOptions: '--tags --always --abbrev=1 --dirty=-d',
|
||||||
|
globalReplace: false
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
config.lintspaces = {
|
config.lintspaces = {
|
||||||
rest: {
|
rest: {
|
||||||
src: [
|
src: [
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
"homepage": "https://github.com/caiogondim/bullet-train-oh-my-zsh-theme",
|
"homepage": "https://github.com/caiogondim/bullet-train-oh-my-zsh-theme",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"grunt": "^0.4.5",
|
"grunt": "^0.4.5",
|
||||||
"grunt-bump": "0.0.14",
|
"grunt-bump": "0.0.16",
|
||||||
"grunt-cli": "^0.1.13",
|
"grunt-cli": "^0.1.13",
|
||||||
"grunt-lintspaces": "^0.6.0"
|
"grunt-lintspaces": "^0.6.0"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user