-
-
Notifications
You must be signed in to change notification settings - Fork 764
Closed
Description
Follow-up from #3281
Background
The Verbosity argument of GitVersion changed in more recent releases and the existing values in Cake's enumeration no longer match the accepted values by GitVersion.
Proposal
Update/rename the values in the Cake enumeration to match the exact values values expected in newer versions of GitVersion. This would be a breaking change in the Cake's API and would be included in a future major version of Cake.
| Cake | Rename to | GitVersion |
|---|---|---|
None |
➡️ | Quiet |
Error |
➡️ | Minimal |
Warn |
➡️ | Normal |
Info |
➡️ | Verbose |
Debug |
➡️ | Diagnostic |
Workaround
The current workaround is to use ArgumentCustomization to pass in custom values:
var result = GitVersion(new GitVersionSettings
{
// ...
ArgumentCustomization = args => args
.Append("-verbosity")
.Append("Quiet")
});Related:
gitfool