Skip to content

Commit 26a89e5

Browse files
authored
Merge pull request #1394 from arturcic/fix/1389
#1389 - Add back support for dot-delimited GitVersion outputs/variables
2 parents c18c731 + 70264be commit 26a89e5

File tree

5 files changed

+20
-1
lines changed

5 files changed

+20
-1
lines changed

dist/tools/libs/gitversion.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,10 @@ class GitVersionTool extends DotnetTool {
8282
}
8383
this.buildAgent.setOutput(name, value);
8484
this.buildAgent.setOutput(`GitVersion_${property}`, value);
85+
this.buildAgent.setOutput(`GitVersion.${property}`, value);
8586
this.buildAgent.setVariable(name, value);
8687
this.buildAgent.setVariable(`GitVersion_${property}`, value);
88+
this.buildAgent.setVariable(`GitVersion.${property}`, value);
8789
} catch (_error) {
8890
this.buildAgent.error(`Unable to set output/variable for ${property}`);
8991
}

0 commit comments

Comments
 (0)