updated gitversion tool wrapper to specify both /output json and /output buildserver
This commit is contained in:
@@ -52,8 +52,8 @@ export class GitVersionTool extends DotnetTool implements IGitVersionTool {
|
||||
private getArguments(workDir: string, options: GitVersionSettings): string[] {
|
||||
const args = [
|
||||
workDir,
|
||||
"/output",
|
||||
"json", // need to use buildserver later
|
||||
"/output", "json",
|
||||
"/output", "buildserver",
|
||||
];
|
||||
|
||||
const {
|
||||
@@ -117,4 +117,4 @@ export class GitVersionTool extends DotnetTool implements IGitVersionTool {
|
||||
this.buildAgent.setOutput("commitsSinceVersionSourcePadded", gitversion.CommitsSinceVersionSourcePadded);
|
||||
this.buildAgent.setOutput("commitDate", gitversion.CommitDate);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user