File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -22,11 +22,19 @@ 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+ }
2633 dotnet tool install azure.sdk.tools.testproxy `
2734 --tool-path $(Build.BinariesDirectory)/test-proxy `
2835 --add-source https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-net/nuget/v3/index.json `
2936 --version $version
37+ $(Build.BinariesDirectory)/test-proxy --version
3038 displayName: "Install test-proxy"
3139 condition: and(succeeded(), ${{ parameters.condition }})
3240
You can’t perform that action at this time.
0 commit comments