Skip to content

Commit dad3111

Browse files
committed
Fix Windows Installer GH release
Function `SignItem` used the helper `CheckCommand` that got removed as part of #27284. As a result the GH release job failed https://github.com/containers/podman/actions/runs/18792520254/job/53626352685 This commit address that. Signed-off-by: Mario Loriedo <[email protected]>
1 parent 5a0b74b commit dad3111

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

contrib/win-installer/utils.ps1

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,11 @@ function SignItem() {
8181
}
8282
}
8383

84-
CheckCommand AzureSignTool.exe 'AzureSignTool'
84+
# Check if AzureSignTool is installed
85+
if (! (Get-Command 'AzureSignTool.exe' -errorAction SilentlyContinue)) {
86+
Write-Error "Required dep `"AzureSignTool`" is not installed. "
87+
Exit 1
88+
}
8589

8690
AzureSignTool.exe sign -du 'https://github.com/containers/podman' `
8791
-kvu "https://$ENV:VAULT_ID.vault.azure.net" `

0 commit comments

Comments
 (0)