[release/8.0.1xx-rc1] Check out correct VMR branch PR builds (#17232)

This commit is contained in:
Přemek Vysoký 2023-08-22 09:35:12 +02:00 committed by GitHub
parent bc36d78550
commit 85170c1c70
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -23,14 +23,14 @@ variables:
value: ${{ replace(parameters.vmrBranch, ' ', '') }}
- ${{ else }}:
- name: VmrBranch
value: ${{ replace(replace(variables['System.PullRequest.TargetBranch'], 'refs/heads/', ''), 'refs/pull/', '') }}
value: release/8.0.1xx-rc1
resources:
repositories:
- repository: vmr
type: git
name: dotnet-dotnet
ref: ${{ variables.VmrBranch }}
ref: $(VmrBranch)
stages:
# You can temporarily disable the VMR Build stage by changing the default of disableVmrBuild

View file

@ -22,7 +22,7 @@ variables:
value: ${{ replace(parameters.vmrBranch, ' ', '') }}
- ${{ else }}:
- name: VmrBranch
value: ${{ replace(replace(variables['System.PullRequest.TargetBranch'], 'refs/heads/', ''), 'refs/pull/', '') }}
value: release/8.0.1xx-rc1
resources:
repositories:
@ -30,7 +30,7 @@ resources:
type: github
name: dotnet/dotnet
endpoint: dotnet
ref: ${{ variables.VmrBranch }}
ref: $(VmrBranch)
stages:
# You can temporarily disable the VMR Build stage by setting the disableVmrBuild variable