From cad042256b2aec77f65203e8ae66ea8d93dd382f Mon Sep 17 00:00:00 2001 From: George Arama <50641385+gearama@users.noreply.github.com> Date: Fri, 3 Feb 2023 14:46:35 -0800 Subject: [PATCH] proper regex for win 2022 (#4339) --- eng/scripts/Get-BinarySizes.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/scripts/Get-BinarySizes.ps1 b/eng/scripts/Get-BinarySizes.ps1 index bebb6c474..af8a91da4 100644 --- a/eng/scripts/Get-BinarySizes.ps1 +++ b/eng/scripts/Get-BinarySizes.ps1 @@ -52,7 +52,7 @@ function getTargetOs { return "win-2019" } - if ($OsVMImage -match "^MMS2022$|^win-2022$") { + if ($OsVMImage -match "^MMS2022$|^win-2022$|^windows-2022$") { return "win-2022" }