forked from videogular/bower-videogular
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gruntfile.js
35 lines (32 loc) · 1.15 KB
/
Gruntfile.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
release: {
options: {
//bump: false, //default: true
//file: 'bower.json', //default: package.json
//add: false, //default: true
//commit: false, //default: true
//tag: false, //default: true
//push: false, //default: true
//pushTags: false, //default: true
//npmtag: true, //default: no tag
//folder: 'folder/to/publish/to/npm', //default project root
//commitMessage: 'check out my release <%= version %>', //default: 'release <%= version %>'
//tagMessage: 'tagging version <%= version %>', //default: 'Version <%= version %>',
//tagName: 'v<%= version %>', //default: '<%= version %>'
file: 'bower.json', //default: package.json
add: false, //default: true
commit: false, //default: true
tag: false, //default: true
push: false, //default: true
pushTags: false, //default: true
npm: false
}
}
});
grunt.loadNpmTasks('grunt-release');
grunt.registerTask('major', ['release:major']);
grunt.registerTask('minor', ['release:minor']);
grunt.registerTask('patch', ['release:patch']);
};