We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cec3ebf commit 04ce9f1Copy full SHA for 04ce9f1
build.ps1
@@ -696,6 +696,13 @@ if ($packageType -eq 'msixbundle') {
696
if ($LASTEXITCODE -ne 0) {
697
throw "Failed to create tar.gz file"
698
}
699
+
700
+ # check it's valid
701
+ $out = file $tarFile
702
+ if ($out -notmatch 'gzip compressed data') {
703
+ throw "Invalid tar.gz file"
704
+ }
705
706
Write-Host -ForegroundColor Green "`ntar.gz file is created at $tarFile"
707
708
0 commit comments