chore: fix components/handlebars package.json and auto-update on release
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
"version": "4.0.11",
|
"name": "handlebars",
|
||||||
|
"version": "4.0.12",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"jspm": {
|
"jspm": {
|
||||||
"main": "handlebars",
|
"main": "handlebars",
|
||||||
|
|||||||
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user