mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Fix MSIX packaging to determine if a Preview release by inspecting the semantic version string (#11991)
This commit is contained in:
@@ -3049,7 +3049,7 @@ function New-MSIXPackage
|
||||
|
||||
$displayName = $productName
|
||||
|
||||
if ($packageName.Contains('-')) {
|
||||
if ($ProductSemanticVersion.Contains('-')) {
|
||||
$ProductName += 'Preview'
|
||||
$displayName += ' Preview'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user