disable telemetry for dotnet

This commit is contained in:
Artur Stolear
2019-11-22 14:01:23 +02:00
parent f2b795f751
commit 853506e371
2 changed files with 2 additions and 0 deletions

View File

@@ -13,6 +13,7 @@ export async function run() {
const version = "5.1.2";
const includePrerelease = false;
buildAgent.exportVariable("DOTNET_CLI_TELEMETRY_OPTOUT", "1");
await gitVersionTool.install(version, includePrerelease);
buildAgent.setSucceeded("GitVersion executed successfully", true);