We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26efb69 commit fc1bc0bCopy full SHA for fc1bc0b
src/GitVersionTfsTask/GitVersion.ps1
@@ -54,6 +54,13 @@ if($additionalArguments)
54
$argsGitVersion = $argsGitVersion + " $additionalArguments"
55
}
56
57
+if(!$additionalArguments -or !$additionalArguments.Contains("-debug"))
58
+{
59
+ if([string]::IsNullOrEmpty($env:SYSTEM_DEBUG) -or $env:SYSTEM_DEBUG -ne "true"){
60
+ $argsGitVersion = $argsGitVersion + " -verbosity Error"
61
+ }
62
+}
63
+
64
Write-Host (Get-LocalizedString -Key "Invoking GitVersion with {0}" -ArgumentList $argsGitVersion)
65
66
Invoke-Tool -Path $GitVersionPath -Arguments "$argsGitVersion"
0 commit comments