Skip to content

Commit 268afbd

Browse files
author
Andrew
authored
Fix MSIX packaging to determine if a Preview release by inspecting the semantic version string (#11991)
1 parent 348ca85 commit 268afbd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/packaging/packaging.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3049,7 +3049,7 @@ function New-MSIXPackage
30493049

30503050
$displayName = $productName
30513051

3052-
if ($packageName.Contains('-')) {
3052+
if ($ProductSemanticVersion.Contains('-')) {
30533053
$ProductName += 'Preview'
30543054
$displayName += ' Preview'
30553055
}

0 commit comments

Comments
 (0)