mirror of
https://bitbucket.org/skobkin/chrome_point_plus.git
synced 2024-12-28 17:24:20 +00:00
Add bump task
This commit is contained in:
parent
ead197bf78
commit
ce79f820ba
17
Gruntfile.js
17
Gruntfile.js
|
@ -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' ]);
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
"devDependencies": {
|
||||
"bower": "^1.3.12",
|
||||
"grunt": "^0.4.5",
|
||||
"grunt-bump": "0.0.16",
|
||||
"grunt-contrib-copy": "^0.7.0"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue