Skip to content

Commit 07c1f0b

Browse files
Merge pull request containers#25553 from l0rd/fix-latest-win-installer-download
Windows installer test: hardcode the ID of the latest GH release
2 parents 9573519 + 91072dc commit 07c1f0b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

contrib/cirrus/win-installer-main.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ if ($Env:CI -eq "true") {
1212
$RELEASE_DIR = "$PSScriptRoot\..\..\contrib\win-installer\current"
1313
if ($null -eq $ENV:CONTAINERS_MACHINE_PROVIDER) { $ENV:CONTAINERS_MACHINE_PROVIDER = 'wsl' }
1414
}
15+
$ENV:LATEST_GH_RELEASE_ID = "199677288" # v5.4.0
1516

1617
Push-Location $WIN_INST_FOLDER
1718

@@ -20,7 +21,7 @@ Push-Location $WIN_INST_FOLDER
2021
# Download the previous installer to test a major update
2122

2223
if (!$env:PREV_SETUP_EXE_PATH) {
23-
$env:PREV_SETUP_EXE_PATH = Get-Latest-Podman-Setup-From-GitHub
24+
$env:PREV_SETUP_EXE_PATH = Get-Podman-Setup-From-GitHub $ENV:LATEST_GH_RELEASE_ID
2425
}
2526

2627
# Note: consumes podman-remote-release-windows_amd64.zip from repo.tar.zst

0 commit comments

Comments
 (0)