From c007c0e55911cc599dc8efc44e8e48ea2af5c923 Mon Sep 17 00:00:00 2001 From: Cory Knox Date: Thu, 7 Mar 2024 07:36:58 -0800 Subject: [PATCH] Fix the GHA for PRs --- Chocolatey-AU.build.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Chocolatey-AU.build.ps1 b/Chocolatey-AU.build.ps1 index 75fdc1ad..47828447 100644 --- a/Chocolatey-AU.build.ps1 +++ b/Chocolatey-AU.build.ps1 @@ -177,7 +177,7 @@ task Build Clean, InstallGitVersion, ScriptAnalyzer, { $gitversion = gitversion.exe $gitversion | Out-String -Width 120 | Write-Host - $versionInfo = $gitversion | ConvertFrom-Json + $versionInfo = $gitversion 2>$null | ConvertFrom-Json $manifestUpdates = @{ Path = $manifest.FullName ModuleVersion = $versionInfo.MajorMinorPatch