From 23c22331e88882181fcc3e51d3f11aa9e7a7696e Mon Sep 17 00:00:00 2001 From: Mike Griese Date: Fri, 21 Feb 2025 05:52:15 -0600 Subject: [PATCH] add wyhash as an exception (#445) Boy does PT ever have a lot of sanity checking [[good]] --- .pipelines/versionAndSignCheck.ps1 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.pipelines/versionAndSignCheck.ps1 b/.pipelines/versionAndSignCheck.ps1 index e941aa7efe..89cfbeea1c 100644 --- a/.pipelines/versionAndSignCheck.ps1 +++ b/.pipelines/versionAndSignCheck.ps1 @@ -23,6 +23,7 @@ $versionExceptions = @( "Microsoft.WindowsAppRuntime.Release.Net.dll", "Microsoft.Windows.Widgets.Projection.dll", "WinRT.Host.Shim.dll", + "WyHash.dll", "Microsoft.Recognizers.Text.DataTypes.TimexExpression.dll", "ObjectModelCsProjection.dll", "RendererCsProjection.dll") -join '|'; @@ -53,7 +54,7 @@ $totalFailure = 0; Write-Host $DirPath; -if (-not (Test-Path $DirPath)) { +if (-not (Test-Path $DirPath)) { Write-Error "Folder does not exist!" } @@ -75,7 +76,7 @@ $items | ForEach-Object { Write-Host "Version set to 1.0.0.0: " + $_.FullName $totalFailure++; } - elseif ($_.VersionInfo.FileVersion -eq $null -and $_.Name -notmatch $nullVersionExceptions) { + elseif ($_.VersionInfo.FileVersion -eq $null -and $_.Name -notmatch $nullVersionExceptions) { # These items are exceptions that actually a version not set. Write-Host "Version not set: " + $_.FullName $totalFailure++;