File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ module.exports = function (grunt) {
1313 grunt . loadNpmTasks ( 'grunt-protractor-runner' ) ;
1414 grunt . loadNpmTasks ( 'grunt-bootlint' ) ;
1515 grunt . loadNpmTasks ( 'grunt-ng-annotate' ) ;
16+ grunt . loadNpmTasks ( 'grunt-bump' ) ;
1617
1718 // Project configuration.
1819 grunt . initConfig ( {
@@ -124,6 +125,15 @@ module.exports = function (grunt) {
124125 }
125126 } ,
126127 run : { }
128+ } ,
129+
130+ bump : {
131+ options : {
132+ files : [ 'package.json' , 'bower.json' ] ,
133+ commitFiles : [ 'package.json' , 'bower.json' ] ,
134+ tagName : '%VERSION%' ,
135+ pushTo : 'origin'
136+ }
127137 }
128138
129139 } ) ;
Original file line number Diff line number Diff line change 11{
22 "name" : " angular-bootstrap-multiselect" ,
33 "version" : " 1.0.1" ,
4- "main" : " dist/angular-bootstrap-multiselect" ,
4+ "main" : " dist/angular-bootstrap-multiselect.min.js " ,
55 "ignore" : [
66 " src" ,
77 " test" ,
You can’t perform that action at this time.
0 commit comments