From 538be710eb80c836ff341fe9fc4e3c1ef20f9a3b Mon Sep 17 00:00:00 2001 From: Nikita Bykov Date: Thu, 19 Aug 2021 11:50:50 +0300 Subject: [PATCH] update --- get-new-tool-versions/get-new-tool-versions.ps1 | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/get-new-tool-versions/get-new-tool-versions.ps1 b/get-new-tool-versions/get-new-tool-versions.ps1 index de31ffd..4672876 100644 --- a/get-new-tool-versions/get-new-tool-versions.ps1 +++ b/get-new-tool-versions/get-new-tool-versions.ps1 @@ -29,11 +29,8 @@ if ($ToolName -eq "Xamarin") { if ($VersionsToBuild) { $availableVersions = $VersionsToBuild -join $joinChars Write-Host "The following versions are available to build:`n${availableVersions}" - if ($ToolName -eq "Go") { - Write-Host "::set-output name=version_number::${availableVersions}" - } else { - Write-Host "##vso[task.setvariable variable=TOOL_VERSIONS;isOutput=true]${availableVersions}" - } + Write-Host "::set-output name=version_number::${availableVersions}" + Write-Host "##vso[task.setvariable variable=TOOL_VERSIONS;isOutput=true]${availableVersions}" } else { Write-Host "There aren't versions to build" }