Skip to content

Commit 85170c1

Browse files
authored
[release/8.0.1xx-rc1] Check out correct VMR branch PR builds (#17232)
1 parent bc36d78 commit 85170c1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

eng/pipelines/vmr-build-internal.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ variables:
2323
value: ${{ replace(parameters.vmrBranch, ' ', '') }}
2424
- ${{ else }}:
2525
- name: VmrBranch
26-
value: ${{ replace(replace(variables['System.PullRequest.TargetBranch'], 'refs/heads/', ''), 'refs/pull/', '') }}
26+
value: release/8.0.1xx-rc1
2727

2828
resources:
2929
repositories:
3030
- repository: vmr
3131
type: git
3232
name: dotnet-dotnet
33-
ref: ${{ variables.VmrBranch }}
33+
ref: $(VmrBranch)
3434

3535
stages:
3636
# You can temporarily disable the VMR Build stage by changing the default of disableVmrBuild

eng/pipelines/vmr-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ variables:
2222
value: ${{ replace(parameters.vmrBranch, ' ', '') }}
2323
- ${{ else }}:
2424
- name: VmrBranch
25-
value: ${{ replace(replace(variables['System.PullRequest.TargetBranch'], 'refs/heads/', ''), 'refs/pull/', '') }}
25+
value: release/8.0.1xx-rc1
2626

2727
resources:
2828
repositories:
2929
- repository: vmr
3030
type: github
3131
name: dotnet/dotnet
3232
endpoint: dotnet
33-
ref: ${{ variables.VmrBranch }}
33+
ref: $(VmrBranch)
3434

3535
stages:
3636
# You can temporarily disable the VMR Build stage by setting the disableVmrBuild variable

0 commit comments

Comments
 (0)