Do not create -ub release VMR branches (#18809)

This commit is contained in:
Přemek Vysoký 2024-02-28 16:51:32 +01:00 committed by GitHub
parent 29abe93c1a
commit c4af2f6a0b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -25,7 +25,7 @@ parameters:
type: string
default: ' '
variables:
variables:
- ${{ if ne(parameters.vmrBranch, ' ') }}:
- name: VmrBranch
value: ${{ replace(parameters.vmrBranch, ' ', '') }}
@ -39,7 +39,8 @@ jobs:
jobName: Synchronize_VMR
vmrBranch: ${{ variables.VmrBranch }}
- template: /eng/pipelines/templates/jobs/vmr-synchronization.yml
parameters:
jobName: Synchronize_VMR_uncloacked
vmrBranch: ${{ variables.VmrBranch }}-ub
- ${{ if eq(variables['Build.SourceBranch'], 'refs/heads/main') }}:
- template: /eng/pipelines/templates/jobs/vmr-synchronization.yml
parameters:
jobName: Synchronize_VMR_uncloaked
vmrBranch: ${{ variables.VmrBranch }}-ub