From 587ce9df81c2a7128475ac9ef923c05249bb073d Mon Sep 17 00:00:00 2001 From: Travis Plunk Date: Wed, 6 Jun 2018 13:28:34 -0700 Subject: [PATCH] fix mac package name --- tools/packaging/packaging.psm1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/packaging/packaging.psm1 b/tools/packaging/packaging.psm1 index a9771724cd..e69a263cd1 100644 --- a/tools/packaging/packaging.psm1 +++ b/tools/packaging/packaging.psm1 @@ -615,7 +615,7 @@ function New-UnixPackage { $IsPreview = Test-IsPreview -Version $Version # Preview versions have preview in the name - $Name = if ($IsPreview) { "powershell-preview" } else { "powershell" } + $Name = if ($IsPreview -and $Environment.IsLinux) { "powershell-preview" } else { "powershell" } # Verify dependencies are installed and in the path Test-Dependencies