From 5be59da0a89d50365003ea6b6eb0af816956f6ae Mon Sep 17 00:00:00 2001 From: Bjarke Berg Date: Tue, 23 Mar 2021 18:40:20 +0100 Subject: [PATCH] Dont reuse variable. --- build/azure-pipelines.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build/azure-pipelines.yml b/build/azure-pipelines.yml index 9ba7e5efa1..e668e8acdc 100644 --- a/build/azure-pipelines.yml +++ b/build/azure-pipelines.yml @@ -151,10 +151,10 @@ stages: $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 + $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 Write-Host "Building: $continuous" - task: PowerShell@1