diff --git a/Tasks/GoToolV0/gotool.ts b/Tasks/GoToolV0/gotool.ts index 36819d97f277..4b53a87e4ebe 100644 --- a/Tasks/GoToolV0/gotool.ts +++ b/Tasks/GoToolV0/gotool.ts @@ -87,7 +87,14 @@ async function acquireGo(version: string): Promise { function getFileName(version: string): string { let platform: string = osPlat == "win32" ? "windows" : osPlat; - let arch: string = osArch == "x64" ? "amd64" : "386"; + let arch: string; + if (osArch == "x64") { + arch = "amd64"; + } else if (osArch == "arm64") { + arch = "arm64"; + } else { + arch = "386"; + } let ext: string = osPlat == "win32" ? "zip" : "tar.gz"; let filename: string = util.format("go%s.%s-%s.%s", version, platform, arch, ext); return filename; diff --git a/Tasks/GoToolV0/task.json b/Tasks/GoToolV0/task.json index d7da9445734a..aceb24d6085c 100644 --- a/Tasks/GoToolV0/task.json +++ b/Tasks/GoToolV0/task.json @@ -13,8 +13,8 @@ "author": "Microsoft Corporation", "version": { "Major": 0, - "Minor": 246, - "Patch": 2 + "Minor": 251, + "Patch": 0 }, "satisfies": [ "GO" diff --git a/Tasks/GoToolV0/task.loc.json b/Tasks/GoToolV0/task.loc.json index 8f996c53a934..6ef45acf3601 100644 --- a/Tasks/GoToolV0/task.loc.json +++ b/Tasks/GoToolV0/task.loc.json @@ -13,8 +13,8 @@ "author": "Microsoft Corporation", "version": { "Major": 0, - "Minor": 246, - "Patch": 2 + "Minor": 251, + "Patch": 0 }, "satisfies": [ "GO" diff --git a/_generated/GoToolV0.versionmap.txt b/_generated/GoToolV0.versionmap.txt index e763310aac50..bf56b0c0d9ca 100644 --- a/_generated/GoToolV0.versionmap.txt +++ b/_generated/GoToolV0.versionmap.txt @@ -1,2 +1,2 @@ -Default|0.246.2 -Node20_229_3|0.246.3 +Default|0.251.0 +Node20_229_3|0.251.1 diff --git a/_generated/GoToolV0/gotool.ts b/_generated/GoToolV0/gotool.ts index 36819d97f277..4b53a87e4ebe 100644 --- a/_generated/GoToolV0/gotool.ts +++ b/_generated/GoToolV0/gotool.ts @@ -87,7 +87,14 @@ async function acquireGo(version: string): Promise { function getFileName(version: string): string { let platform: string = osPlat == "win32" ? "windows" : osPlat; - let arch: string = osArch == "x64" ? "amd64" : "386"; + let arch: string; + if (osArch == "x64") { + arch = "amd64"; + } else if (osArch == "arm64") { + arch = "arm64"; + } else { + arch = "386"; + } let ext: string = osPlat == "win32" ? "zip" : "tar.gz"; let filename: string = util.format("go%s.%s-%s.%s", version, platform, arch, ext); return filename; diff --git a/_generated/GoToolV0/task.json b/_generated/GoToolV0/task.json index 595e7eb5715b..e54d941d4a61 100644 --- a/_generated/GoToolV0/task.json +++ b/_generated/GoToolV0/task.json @@ -13,8 +13,8 @@ "author": "Microsoft Corporation", "version": { "Major": 0, - "Minor": 246, - "Patch": 2 + "Minor": 251, + "Patch": 0 }, "satisfies": [ "GO" @@ -67,7 +67,8 @@ "TempDirNotSet": "The 'Agent.TempDirectory' environment variable was expected to be set." }, "_buildConfigMapping": { - "Default": "0.246.2", - "Node20_229_3": "0.246.3" + "Default": "0.251.0", + "LocalPackages": "0.249.4", + "Node20_229_3": "0.251.1" } } \ No newline at end of file diff --git a/_generated/GoToolV0/task.loc.json b/_generated/GoToolV0/task.loc.json index 7d6b996f0798..31b073c874d2 100644 --- a/_generated/GoToolV0/task.loc.json +++ b/_generated/GoToolV0/task.loc.json @@ -13,8 +13,8 @@ "author": "Microsoft Corporation", "version": { "Major": 0, - "Minor": 246, - "Patch": 2 + "Minor": 251, + "Patch": 0 }, "satisfies": [ "GO" @@ -67,7 +67,8 @@ "TempDirNotSet": "ms-resource:loc.messages.TempDirNotSet" }, "_buildConfigMapping": { - "Default": "0.246.2", - "Node20_229_3": "0.246.3" + "Default": "0.251.0", + "LocalPackages": "0.249.4", + "Node20_229_3": "0.251.1" } } \ No newline at end of file diff --git a/_generated/GoToolV0_Node20/gotool.ts b/_generated/GoToolV0_Node20/gotool.ts index 36819d97f277..4b53a87e4ebe 100644 --- a/_generated/GoToolV0_Node20/gotool.ts +++ b/_generated/GoToolV0_Node20/gotool.ts @@ -87,7 +87,14 @@ async function acquireGo(version: string): Promise { function getFileName(version: string): string { let platform: string = osPlat == "win32" ? "windows" : osPlat; - let arch: string = osArch == "x64" ? "amd64" : "386"; + let arch: string; + if (osArch == "x64") { + arch = "amd64"; + } else if (osArch == "arm64") { + arch = "arm64"; + } else { + arch = "386"; + } let ext: string = osPlat == "win32" ? "zip" : "tar.gz"; let filename: string = util.format("go%s.%s-%s.%s", version, platform, arch, ext); return filename; diff --git a/_generated/GoToolV0_Node20/task.json b/_generated/GoToolV0_Node20/task.json index 9495dbadc9b6..d865454ae735 100644 --- a/_generated/GoToolV0_Node20/task.json +++ b/_generated/GoToolV0_Node20/task.json @@ -13,8 +13,8 @@ "author": "Microsoft Corporation", "version": { "Major": 0, - "Minor": 246, - "Patch": 3 + "Minor": 251, + "Patch": 1 }, "satisfies": [ "GO" @@ -71,7 +71,8 @@ "TempDirNotSet": "The 'Agent.TempDirectory' environment variable was expected to be set." }, "_buildConfigMapping": { - "Default": "0.246.2", - "Node20_229_3": "0.246.3" + "Default": "0.251.0", + "LocalPackages": "0.249.4", + "Node20_229_3": "0.251.1" } } \ No newline at end of file diff --git a/_generated/GoToolV0_Node20/task.loc.json b/_generated/GoToolV0_Node20/task.loc.json index e0689b542de9..bec0b7ea833a 100644 --- a/_generated/GoToolV0_Node20/task.loc.json +++ b/_generated/GoToolV0_Node20/task.loc.json @@ -13,8 +13,8 @@ "author": "Microsoft Corporation", "version": { "Major": 0, - "Minor": 246, - "Patch": 3 + "Minor": 251, + "Patch": 1 }, "satisfies": [ "GO" @@ -71,7 +71,8 @@ "TempDirNotSet": "ms-resource:loc.messages.TempDirNotSet" }, "_buildConfigMapping": { - "Default": "0.246.2", - "Node20_229_3": "0.246.3" + "Default": "0.251.0", + "LocalPackages": "0.249.4", + "Node20_229_3": "0.251.1" } } \ No newline at end of file