Skip to content

Commit 2437386

Browse files
committed
separate publish folders for x64 and arm64
1 parent ef794d6 commit 2437386

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

buildrelease.ps1 renamed to publishrelease.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ if ($sign -ne "" -and $sign -ne $null)
3737
Write-Host $required found.
3838
}
3939

40-
$buildoutputpath = "$PSScriptRoot\publish\signed"
40+
$buildoutputpath = "$PSScriptRoot\publish\$targetplatform\signed"
4141
}
4242
else {
43-
$buildoutputpath = "$PSScriptRoot\publish\unsigned"
43+
$buildoutputpath = "$PSScriptRoot\publish\$targetplatform\unsigned"
4444
}
4545

4646
Set-Location -Path $PSScriptRoot
@@ -65,7 +65,7 @@ Set-Location -Path "$buildoutputpath\$((Get-Culture).Name)\"
6565
# compute hashes of the output
6666
$outputfiles = Get-ChildItem "."
6767
foreach ($outfile in $outputfiles) {
68-
certutil -hashfile $outfile.Name sha512 | Out-File -Encoding utf8NoBOM -FilePath "$outfile.sha512"
68+
certutil -hashfile $outfile.Name sha256 | Out-File -Encoding utf8NoBOM -FilePath "$outfile.sha256"
6969
}
7070

7171
Set-Location -Path $startworkinglocation

0 commit comments

Comments
 (0)