Skip to content

Commit 78a67b6

Browse files
author
Jake Ginnivan
committed
When proj or exec args are specified output type is build server. Fixes #141
1 parent 2a25720 commit 78a67b6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

GitVersionExe/Program.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ static void Main()
3636
return;
3737
}
3838

39+
if (!string.IsNullOrEmpty(arguments.Proj) || !string.IsNullOrEmpty(arguments.Exec))
40+
arguments.Output = OutputType.BuildServer;
41+
3942
ConfigureLogging(arguments);
4043

4144
var gitPreparer = new GitPreparer(arguments);

0 commit comments

Comments
 (0)