mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Build tar packages only when building on Ubuntu (#11766)
This commit is contained in:
@@ -242,9 +242,9 @@ function Start-PSPackage {
|
||||
if ($Environment.LinuxInfo.ID -match "ubuntu") {
|
||||
"deb", "nupkg", "tar"
|
||||
} elseif ($Environment.IsRedHatFamily) {
|
||||
"rpm", "nupkg", "tar"
|
||||
"rpm", "nupkg"
|
||||
} elseif ($Environment.IsSUSEFamily) {
|
||||
"rpm", "nupkg", "tar"
|
||||
"rpm", "nupkg"
|
||||
} else {
|
||||
throw "Building packages for $($Environment.LinuxInfo.PRETTY_NAME) is unsupported!"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user