File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -22,7 +22,17 @@ steps:
2222 pwsh : true
2323
2424 - pwsh : |
25- $version = $(Get-Content "${{ parameters.templateRoot }}/eng/common/testproxy/target_version.txt" -Raw).Trim()
25+ $standardVersion = "${{ parameters.templateRoot }}/eng/common/testproxy/target_version.txt"
26+ $overrideVersion = "${{ parameters.templateRoot }}/eng/target_proxy_version.txt"
27+
28+ $version = $(Get-Content $standardVersion -Raw).Trim()
29+
30+ if (Test-Path $overrideVersion) {
31+ $version = $(Get-Content $overrideVersion -Raw).Trim()
32+ }
33+
34+ Write-Host "Installing test-proxy version $version"
35+
2636 dotnet tool install azure.sdk.tools.testproxy `
2737 --tool-path $(Build.BinariesDirectory)/test-proxy `
2838 --add-source https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-net/nuget/v3/index.json `
You can’t perform that action at this time.
0 commit comments