From 876f4be7e67c8d291fd4c5c6654a265f0d1b4ddf Mon Sep 17 00:00:00 2001 From: Bjarke Berg Date: Tue, 23 Mar 2021 19:13:04 +0100 Subject: [PATCH] Dont reuse variable. --- build/azure-pipelines.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build/azure-pipelines.yml b/build/azure-pipelines.yml index e668e8acdc..36dada748c 100644 --- a/build/azure-pipelines.yml +++ b/build/azure-pipelines.yml @@ -152,9 +152,9 @@ stages: $a | ConvertTo-Json -depth 32| set-content $templatePath $template2Path = 'build/templates/UmbracoPackage/.template.config/template.json' - $a2 = Get-Content $template2Path -raw | ConvertFrom-Json - $a2.symbols.version.defaultValue = $continuous - $a2 | ConvertTo-Json -depth 32| set-content $template2Path + $b = Get-Content $template2Path -raw | ConvertFrom-Json + $b.symbols.version.defaultValue = $continuous + $b | ConvertTo-Json -depth 32| set-content $template2Path Write-Host "Building: $continuous" - task: PowerShell@1