From 02bb09aac17c0b45a9ed12d759a44eca5176120a Mon Sep 17 00:00:00 2001 From: Daniel Jurek Date: Mon, 3 Apr 2023 14:47:38 -0700 Subject: [PATCH] Add support for Ubuntu 22 to Get-BinarySzies.ps1 (#4511) --- eng/scripts/Get-BinarySizes.ps1 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/eng/scripts/Get-BinarySizes.ps1 b/eng/scripts/Get-BinarySizes.ps1 index e43651963..867a0d1c2 100644 --- a/eng/scripts/Get-BinarySizes.ps1 +++ b/eng/scripts/Get-BinarySizes.ps1 @@ -64,6 +64,10 @@ function getTargetOs { return "ubuntu-20.04" } + if ($OsVMImage -eq "MMSUbuntu22.04") { + return "ubuntu-22.04" + } + LogError "Could not infer target OS from " $OSVmImage }