File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -395,7 +395,7 @@ extends:
395395 componentPassword : $(dn-bot-dnceng-build-e-code-full-release-e-packaging-r)
396396 componentBuildProjectName : internal
397397 sourceBranch : " $(ComponentBranchName)"
398- publishDataURI : " https://dev.azure.com/dnceng/internal/_apis/git/repositories/dotnet-roslyn/items?path=eng/config/PublishData.json&api-version=6.0"
398+ publishDataURI : " https://dev.azure.com/dnceng/internal/_apis/git/repositories/dotnet-roslyn/items?path=eng/config/PublishData.json&version=$(ComponentBranchName)& api-version=6.0"
399399 publishDataAccessToken : " $(System.AccessToken)"
400400 dropPath : ' $(Pipeline.Workspace)\VSSetup'
401401
Original file line number Diff line number Diff line change @@ -316,7 +316,7 @@ extends:
316316 vsBranchName : ${{ parameters.VisualStudioBranchName }}
317317 titlePrefix : ${{ parameters.OptionalTitlePrefix }}
318318 sourceBranch : $(ComponentBranchName)
319- publishDataURI : " https://raw.githubusercontent.com/dotnet/roslyn/main /eng/config/PublishData.json"
319+ publishDataURI : " https://raw.githubusercontent.com/dotnet/roslyn/$(ComponentBranchName) /eng/config/PublishData.json"
320320 queueSpeedometerValidation : true
321321 dropPath : ' $(Pipeline.Workspace)\VSSetup'
322322 retainInsertedBuild : false
Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ $ErrorActionPreference="Stop"
88
99$VSSetupDir = Join-Path $ArtifactsDir " VSSetup\$configuration "
1010$PackagesDir = Join-Path $ArtifactsDir " packages\$configuration "
11- $PublishDataUrl = " https://raw.githubusercontent.com/dotnet/roslyn/main/eng/config/PublishData.json"
1211
1312$binaryLog = if (Test-Path variable:binaryLog) { $binaryLog } else { $false }
1413$nodeReuse = if (Test-Path variable:nodeReuse) { $nodeReuse } else { $false }
@@ -27,8 +26,10 @@ function GetPublishData() {
2726 return $global :_PublishData
2827 }
2928
30- Write-Host " Downloading $PublishDataUrl "
31- $content = (Invoke-WebRequest - Uri $PublishDataUrl - UseBasicParsing).Content
29+ $publishDataFile = Join-Path $PSScriptRoot " config\PublishData.json"
30+
31+ Write-Host " Reading $publishDataFile "
32+ $content = Get-Content - Path $publishDataFile - Raw
3233
3334 return $global :_PublishData = ConvertFrom-Json $content
3435}
You can’t perform that action at this time.
0 commit comments