From dad3111a3d069b729dabb5de3226289347569d0d Mon Sep 17 00:00:00 2001 From: Mario Loriedo Date: Mon, 27 Oct 2025 14:21:04 +0100 Subject: [PATCH] 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 --- contrib/win-installer/utils.ps1 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/contrib/win-installer/utils.ps1 b/contrib/win-installer/utils.ps1 index 59ca043dc1..a4158599ba 100644 --- a/contrib/win-installer/utils.ps1 +++ b/contrib/win-installer/utils.ps1 @@ -81,7 +81,11 @@ function SignItem() { } } - CheckCommand AzureSignTool.exe 'AzureSignTool' + # Check if AzureSignTool is installed + if (! (Get-Command 'AzureSignTool.exe' -errorAction SilentlyContinue)) { + Write-Error "Required dep `"AzureSignTool`" is not installed. " + Exit 1 + } AzureSignTool.exe sign -du 'https://github.com/containers/podman' ` -kvu "https://$ENV:VAULT_ID.vault.azure.net" `