Skip to content

Commit 4033f7b

Browse files
author
Ben TORFS
committed
Grunt bump and bower.json fix
1 parent 3aa9da8 commit 4033f7b

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

Gruntfile.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff 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
});

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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",

0 commit comments

Comments
 (0)