From 4a8d033d248793f12c8f81c19dc98a2db4ac2093 Mon Sep 17 00:00:00 2001 From: Bjarke Berg Date: Tue, 23 Mar 2021 18:29:07 +0100 Subject: [PATCH] Update version in both templates --- build/azure-pipelines.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/build/azure-pipelines.yml b/build/azure-pipelines.yml index a41d0f5b7f..9ba7e5efa1 100644 --- a/build/azure-pipelines.yml +++ b/build/azure-pipelines.yml @@ -144,17 +144,17 @@ stages: $ubuild.SetUmbracoVersion($continuous) - #Update the version in template also - - $templatePath = - 'build/templates/UmbracoSolution/.template.config/template.json' + #Update the version in templates also + $templatePath ='build/templates/UmbracoSolution/.template.config/template.json' $a = Get-Content $templatePath -raw | ConvertFrom-Json - $a.symbols.version.defaultValue = $continuous - $a | ConvertTo-Json -depth 32| set-content $templatePath + $templatePath = 'build/templates/UmbracoPackage/.template.config/template.json' + $a = Get-Content $templatePath -raw | ConvertFrom-Json + $a.symbols.version.defaultValue = $continuous + $a | ConvertTo-Json -depth 32| set-content $templatePath Write-Host "Building: $continuous" - task: PowerShell@1