From 120f119b74e9ae9b744cc4fe90952844ae1a5bd1 Mon Sep 17 00:00:00 2001 From: Scott Fryer <60462088+steelhead31@users.noreply.github.com> Date: Mon, 11 Mar 2024 12:56:47 +0000 Subject: [PATCH] Change WindowsKitPath to find latest signtool (#962) --- pipelines/build/common/verify_signing.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipelines/build/common/verify_signing.groovy b/pipelines/build/common/verify_signing.groovy index 66de76cbe..25e7bebbc 100644 --- a/pipelines/build/common/verify_signing.groovy +++ b/pipelines/build/common/verify_signing.groovy @@ -40,7 +40,7 @@ String find_signtool() { def windowsKitPath = "/cygdrive/c/'Program Files (x86)'/'Windows Kits'" - def files = sh(script:"find ${windowsKitPath} -type f -path */${arch}/signtool.exe", \ + def files = sh(script:"find ${windowsKitPath} -type f -path */${arch}/signtool.exe | sort -r", \ returnStdout:true).split("\\r?\\n|\\r") // Return the first one we find