[MacOS] Add software to MacOS 12 image was not available during the Monterey beta stage. (#4644)

This commit is contained in:
Maksim Shilov
2021-12-02 18:35:56 +03:00
committed by GitHub
parent ddaeaaa8fb
commit ca8169d472
9 changed files with 29 additions and 29 deletions

View File

@@ -43,21 +43,16 @@ $languageAndRuntimeList = @(
(Get-DotnetVersionList),
(Get-GoVersion),
(Get-JuliaVersion),
(Get-KotlinVersion)
(Get-KotlinVersion),
(Get-PHPVersion),
(Get-ClangLLVMVersion)
)
if ($os.IsLessThanMonterey) {
$languageAndRuntimeList += @(
(Get-PHPVersion)
)
}
if ($os.IsLessThanMonterey) {
$languageAndRuntimeList += @(
(Get-GccVersion)
(Get-GccVersion),
(Get-FortranVersion)
(Get-ClangLLVMVersion)
)
)
}
if ($os.IsLessThanBigSur) {
@@ -83,17 +78,17 @@ $packageManagementList = @(
(Get-YarnVersion),
(Get-NuGetVersion),
(Get-RubyGemsVersion),
(Get-ComposerVersion)
(Get-ComposerVersion),
(Get-CarthageVersion)
)
if ($os.IsLessThanMonterey) {
$packageManagementList += @(
(Get-CarthageVersion),
(Get-CondaVersion)
)
}
if ($os.IsHigherThanMojave -and $os.IsLessThanMonterey) {
if ($os.IsHigherThanMojave) {
$packageManagementList += @(
(Get-VcpkgVersion)
)
@@ -139,12 +134,14 @@ $utilitiesList = @(
(Get-MongodVersion),
(Get-7zipVersion),
(Get-BsdtarVersion),
(Get-GnuTarVersion)
(Get-GnuTarVersion),
(Get-GPGVersion),
(Get-SwitchAudioOsxVersion),
(Get-SoxVersion)
)
if ($os.IsLessThanMonterey) {
$utilitiesList += @(
(Get-GPGVersion),
(Get-HelmVersion)
)
}
@@ -163,13 +160,6 @@ if ($os.IsLessThanBigSur) {
)
}
if ($os.IsLessThanMonterey) {
$utilitiesList += @(
(Get-SwitchAudioOsxVersion),
(Get-SoxVersion)
)
}
$markdown += New-MDList -Style Unordered -Lines ($utilitiesList | Sort-Object)
# Tools