build: include license manager in release checksums

This commit is contained in:
livio committed 2026-09-28 09:58:35 +02:00
1 parent 11a91863a3
commit 73ec33d9b0
1 file changed
+7 -1
+7 -1
View File
@@ -84,7 +84,13 @@ finally {
$credential = $null
}
$hashLines = $copiedPackages | ForEach-Object {
$licenseManagerArchive = Join-Path $outputDirectory "LME-Pro-LicenseManager-win-x64.zip"
$filesToHash = @($copiedPackages)
if (Test-Path -LiteralPath $licenseManagerArchive) {
$filesToHash += Get-Item -LiteralPath $licenseManagerArchive
}
$hashLines = $filesToHash | ForEach-Object {
$hash = Get-FileHash -Algorithm SHA256 -LiteralPath $_.FullName
"$($hash.Hash.ToLowerInvariant()) $($_.Name)"
}