From 891457896afb479faa4e56c9121fe382e6ec963d Mon Sep 17 00:00:00 2001 From: Alastair Pitts Date: Wed, 18 Sep 2024 16:08:40 +1000 Subject: [PATCH] Fix powershell variable reference (#418) --- .octopus/deployment_process.ocl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.octopus/deployment_process.ocl b/.octopus/deployment_process.ocl index 43839c96..f920afbe 100644 --- a/.octopus/deployment_process.ocl +++ b/.octopus/deployment_process.ocl @@ -220,7 +220,7 @@ step "publish-winget-update-pr" { $version = $OctopusParameters["Octopus.Release.Number"] - $packageUrls = "https://github.com/OctopusDeploy/cli/releases/download/v$version/octopus_$version_windows_amd64.msi|x64" + $packageUrls = "https://github.com/OctopusDeploy/cli/releases/download/v$version/octopus_$($version)_windows_amd64.msi|x64" # This will perform the update and also create a PR with the relevant update .\wingetcreate.exe update OctopusDeploy.Cli --urls $packageUrls --version $version --token $OctopusParameters["Publish:Winget:GitHubPAT"] --submit