diff --git a/eng/scripts/Get-BinarySizes.ps1 b/eng/scripts/Get-BinarySizes.ps1 index e436519639..867a0d1c2a 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 }