Merged in isqua/chrome_point_plus/bump_task (pull request #20)

Add bump task
This commit is contained in:
Alexey Skobkin 2015-01-05 17:30:20 +03:00
commit 9b42e4b982
2 changed files with 17 additions and 1 deletions

View File

@ -30,11 +30,26 @@ module.exports = function(grunt) {
main: {
files: vendorCopy
}
}
},
bump: {
options: {
files: [ 'package.json', 'bower.json', 'chrome_point_plus/manifest.json' ],
commit: true,
commitMessage: 'Release v%VERSION%',
commitFiles: [ 'package.json', 'bower.json', 'chrome_point_plus/manifest.json' ],
createTag: true,
tagName: 'v%VERSION%',
tagMessage: 'Version %VERSION%',
push: false,
gitDescribeOptions: '--tags --always --abbrev=1 --dirty=-d',
globalReplace: true
}
},
});
// Загрузить плагины
grunt.loadNpmTasks('grunt-contrib-copy');
grunt.loadNpmTasks('grunt-bump');
// Что выполнять по команде `grunt`
grunt.registerTask('default', [ 'copy' ]);

View File

@ -15,6 +15,7 @@
"devDependencies": {
"bower": "^1.3.12",
"grunt": "^0.4.5",
"grunt-bump": "0.0.16",
"grunt-contrib-copy": "^0.7.0"
}
}