mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Merged PR 4405: Fix MacOS build
This commit is contained in:
@@ -60,6 +60,8 @@ function Start-PSPackage {
|
||||
$WindowsRuntime, "Release"
|
||||
} elseif ($Type -eq "tar-arm") {
|
||||
New-PSOptions -Configuration "Release" -Runtime "Linux-ARM" -WarningAction SilentlyContinue | ForEach-Object { $_.Runtime, $_.Configuration }
|
||||
} elseif ($Type -eq "osxpkg") {
|
||||
New-PSOptions -Configuration "Release" -Runtime 'osx.10.12-x64' -WarningAction SilentlyContinue | ForEach-Object { $_.Runtime, $_.Configuration }
|
||||
} else {
|
||||
New-PSOptions -Configuration "Release" -WarningAction SilentlyContinue | ForEach-Object { $_.Runtime, $_.Configuration }
|
||||
}
|
||||
|
||||
@@ -71,9 +71,9 @@ try {
|
||||
}
|
||||
|
||||
if ($Build.IsPresent) {
|
||||
Start-PSBuild -Crossgen -PSModuleRestore @releaseTagParam
|
||||
Start-PSBuild -Crossgen -PSModuleRestore @releaseTagParam -Runtime osx.10.12-x64
|
||||
|
||||
Start-PSPackage @releaseTagParam
|
||||
Start-PSPackage @releaseTagParam -Type 'osxpkg'
|
||||
switch ($ExtraPackage) {
|
||||
"tar" { Start-PSPackage -Type tar @releaseTagParam }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user