Skip to content

Commit e2409a6

Browse files
committed
Fix appx version string for non-preview version
1 parent ef393d2 commit e2409a6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

build.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -565,6 +565,11 @@ if ($packageType -eq 'msixbundle') {
565565
$displayName += "-Preview"
566566
}
567567
}
568+
else {
569+
# appx requires a version in the format of major.minor.build.revision with revision being 0
570+
$productVersion += ".0"
571+
}
572+
568573
Write-Verbose -Verbose "Product version is $productVersion"
569574
$arch = if ($architecture -eq 'aarch64-pc-windows-msvc') { 'arm64' } else { 'x64' }
570575

0 commit comments

Comments
 (0)