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