Skip to content

Commit

Permalink
Remove bower version as per #2607
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeapage committed Sep 25, 2015
1 parent d85b0e6 commit 7af6e27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
9 changes: 1 addition & 8 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -361,18 +361,11 @@ module.exports = function (grunt) {
'test'
]);

grunt.registerTask('updateBowerJson', function () {
var bowerJson = require('./bower.json');
bowerJson.version = grunt.config('pkg.version');
fs.writeFileSync('./bower.json', JSON.stringify(bowerJson, null, 2));
});

// Release
grunt.registerTask('dist', [
'browserify:browser',
'concat:dist',
'uglify:dist',
'updateBowerJson'
'uglify:dist'
]);

// Release Rhino Version
Expand Down
3 changes: 1 addition & 2 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,5 @@
".gitattributes",
".jshintrc",
".npmignore"
],
"version": "2.5.2"
]
}

0 comments on commit 7af6e27

Please sign in to comment.