Skip to content

Commit

Permalink
Fix powershell variable reference (#418)
Browse files Browse the repository at this point in the history
  • Loading branch information
APErebus authored Sep 18, 2024
1 parent 9908af6 commit 8914578
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .octopus/deployment_process.ocl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8914578

Please sign in to comment.