test the output and variables

This commit is contained in:
Artur
2023-03-11 17:21:01 +01:00
parent 1fe80c9136
commit c0466a77ff
8 changed files with 27 additions and 14 deletions

View File

@@ -83,6 +83,9 @@ export class GitVersionTool extends DotnetTool implements IGitVersionTool {
const name = this.toCamelCase(property)
const value = gitversionOutput[property]
this.buildAgent.setOutput(name, value)
this.buildAgent.setOutput(`GitVersion_${name}`, value)
this.buildAgent.setVariable(name, value)
this.buildAgent.setVariable(`GitVersion_${name}`, value)
})
}