From 5a8b3d9a795e01bc8c7908e618015dfa10ec1907 Mon Sep 17 00:00:00 2001 From: Andrew Date: Thu, 5 Mar 2020 10:59:51 -0800 Subject: [PATCH] Fix MSIX packaging to determine if a Preview release by inspecting the semantic version string (#11991) --- 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 7b02384d65a4..fa19238be4c6 100644 --- a/tools/packaging/packaging.psm1 +++ b/tools/packaging/packaging.psm1 @@ -3080,7 +3080,7 @@ function New-MSIXPackage $displayName = $productName - if ($packageName.Contains('-')) { + if ($ProductSemanticVersion.Contains('-')) { $ProductName += 'Preview' $displayName += ' Preview' }