floating the proxy version is not a safe choice. there is no guarantee that the version being utilized will actually work as expected

This commit is contained in:
Scott Beddall (from Dev Box) 2024-04-08 17:54:43 -07:00
Родитель de372fdaba
Коммит fa5facaaf8
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -23,7 +23,9 @@ $CurrentVersion = (Get-Command -Name "test-proxy" -ErrorAction SilentlyContinue)
if($error){
echo "Will install testproxy"
dotnet tool update azure.sdk.tools.testproxy --global --add-source https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-net/nuget/v3/index.json --version "1.0.0-dev*"
$proxyVersion = (Get-Content -Path (Join-Path $PSScriptRoot ".." "common" "testproxy" "target_version.txt")).Trim()
dotnet tool update azure.sdk.tools.testproxy --global --add-source https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-net/nuget/v3/index.json --version $proxyVersion
# clear the errors again
$error.clear()