From 5a3578eca93f33495c604cf78bbdbfeca2ffca98 Mon Sep 17 00:00:00 2001 From: Ronald Barendse Date: Thu, 24 Feb 2022 11:37:22 +0100 Subject: [PATCH] Fix updating default Umbraco version in templates --- build/azure-pipelines.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/azure-pipelines.yml b/build/azure-pipelines.yml index ec01ebee82..2f07d879d2 100644 --- a/build/azure-pipelines.yml +++ b/build/azure-pipelines.yml @@ -407,11 +407,11 @@ stages: $continuous = "$($version.release)-preview$date.$(Build.BuildId)" $ubuild.SetUmbracoVersion($continuous) - # Update the version in templates + # Update the default Umbraco version in templates $templatePaths = Get-ChildItem 'templates/**/.template.config/template.json' foreach ($templatePath in $templatePaths) { $a = Get-Content $templatePath -Raw | ConvertFrom-Json - $a.symbols.version.defaultValue = $continuous + $a.symbols.UmbracoVersion.defaultValue = $continuous $a | ConvertTo-Json -Depth 32 | Set-Content $templatePath } }