Skip to content

Commit

Permalink
Fix VERSION update script
Browse files Browse the repository at this point in the history
This broke after updating to es6 formatted code.

Fixes #1016
  • Loading branch information
kpdecker committed May 5, 2015
1 parent 891f48b commit 00bfdd7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tasks/version.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ module.exports = function(grunt) {
grunt.log.writeln('Updating to version ' + version);

async.each([
['lib/handlebars/base.js', /var VERSION = ['"](.*)['"];/, 'var VERSION = "' + version + '";'],
['components/bower.json', /"version":.*/, '"version": "' + version + '",'],
['components/handlebars.js.nuspec', /<version>.*<\/version>/, '<version>' + version + '</version>']
['lib/handlebars/base.js', (/const VERSION = ['"](.*)['"];/), 'const VERSION = \'' + version + '\';'],
['components/bower.json', (/"version":.*/), '"version": "' + version + '",'],
['components/handlebars.js.nuspec', (/<version>.*<\/version>/), '<version>' + version + '</version>']
],
function(args, callback) {
replace.apply(undefined, args);
Expand Down

0 comments on commit 00bfdd7

Please sign in to comment.