Skip to content

Commit e13a43d

Browse files
dibarbetgithub-actions
authored andcommitted
Pull publishdata from branch being published
1 parent 09ca881 commit e13a43d

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

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

0 commit comments

Comments
 (0)