Skip to content

Commit ebdf431

Browse files
authored
Pull publishdata from branch being published (#12264)
### Summary of the changes Pull publish data from the branch being published. Same change made in Roslyn to make it easier to allow us to cleanup publishdata and make it easier to configure branch publishing. This will be backported to current servicing branches. Validation in progress - https://dnceng.visualstudio.com/internal/_build/results?buildId=2801085&view=results
2 parents cfbe7ee + 6f55c9b commit ebdf431

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

azure-pipelines-official.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#
1+
#
22
# See https://docs.microsoft.com/azure/devops/pipelines/yaml-schema for reference.
33
#
44

@@ -435,6 +435,6 @@ extends:
435435
componentPassword: $(dn-bot-dnceng-build-e-code-full-release-e-packaging-r)
436436
componentBuildProjectName: internal
437437
sourceBranch: "$(ComponentBranchName)"
438-
publishDataURI: "https://dev.azure.com/dnceng/internal/_apis/git/repositories/dotnet-razor/items?path=/eng/config/PublishData.json&api-version=6.0"
438+
publishDataURI: "https://dev.azure.com/dnceng/internal/_apis/git/repositories/dotnet-razor/items?path=eng/config/PublishData.json&version=$(ComponentBranchName)&api-version=6.0"
439439
publishDataAccessToken: "$(System.AccessToken)"
440440
dropPath: '$(Pipeline.Workspace)\VSSetup'

0 commit comments

Comments
 (0)