chore: fix components/handlebars package.json and auto-update on release

This commit is contained in:
Nils Knappmeier
2019-01-02 01:06:20 +01:00
parent 27ac1ee396
commit bacd473fe6
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
{ {
"version": "4.0.11", "name": "handlebars",
"version": "4.0.12",
"license": "MIT", "license": "MIT",
"jspm": { "jspm": {
"main": "handlebars", "main": "handlebars",
+1
View File
@@ -20,6 +20,7 @@ module.exports = function(grunt) {
async.each([ async.each([
['lib/handlebars/base.js', (/const VERSION = ['"](.*)['"];/), 'const VERSION = \'' + version + '\';'], ['lib/handlebars/base.js', (/const VERSION = ['"](.*)['"];/), 'const VERSION = \'' + version + '\';'],
['components/bower.json', (/"version":.*/), '"version": "' + version + '",'], ['components/bower.json', (/"version":.*/), '"version": "' + version + '",'],
['components/package.json', /"version":.*/, '"version": "' + version + '",'],
['components/handlebars.js.nuspec', (/<version>.*<\/version>/), '<version>' + version + '</version>'] ['components/handlebars.js.nuspec', (/<version>.*<\/version>/), '<version>' + version + '</version>']
], ],
function(args, callback) { function(args, callback) {