From 39f49083ea9b91d105b0ea947f1ec5800e7a370b Mon Sep 17 00:00:00 2001 From: Konstantin Tyukalov <52399739+KonstantinTyukalov@users.noreply.github.com> Date: Mon, 18 Sep 2023 14:36:41 +0400 Subject: [PATCH] [PowerShellV2] fix telemetry naming (#18980) * Fix telemetry name * Bump task to 2.228.1 --- Tasks/PowerShellV2/helpers.ts | 2 +- Tasks/PowerShellV2/task.json | 2 +- Tasks/PowerShellV2/task.loc.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Tasks/PowerShellV2/helpers.ts b/Tasks/PowerShellV2/helpers.ts index bbbbfbd4ceff..99c89cc9c107 100644 --- a/Tasks/PowerShellV2/helpers.ts +++ b/Tasks/PowerShellV2/helpers.ts @@ -189,7 +189,7 @@ export function validateFileArgs(inputArguments: string): void { ...expandTelemetry ?? {}, ...sanitizeTelemetry ?? {} }; - emitTelemetry('TaskHub', 'BashV3', telemetry); + emitTelemetry('TaskHub', 'PowerShellV2', telemetry); } if (sanitizedArgs !== expandedArgs) { const message = tl.loc('ScriptArgsSanitized'); diff --git a/Tasks/PowerShellV2/task.json b/Tasks/PowerShellV2/task.json index ef3ee31600a6..38eb83d8e82c 100644 --- a/Tasks/PowerShellV2/task.json +++ b/Tasks/PowerShellV2/task.json @@ -18,7 +18,7 @@ "version": { "Major": 2, "Minor": 228, - "Patch": 0 + "Patch": 1 }, "releaseNotes": "Script task consistency. Added support for macOS and Linux.", "minimumAgentVersion": "2.115.0", diff --git a/Tasks/PowerShellV2/task.loc.json b/Tasks/PowerShellV2/task.loc.json index 4abe9d2a6c2b..2646c1424404 100644 --- a/Tasks/PowerShellV2/task.loc.json +++ b/Tasks/PowerShellV2/task.loc.json @@ -18,7 +18,7 @@ "version": { "Major": 2, "Minor": 228, - "Patch": 0 + "Patch": 1 }, "releaseNotes": "ms-resource:loc.releaseNotes", "minimumAgentVersion": "2.115.0",