dotnet-installer/eng/pipelines/vmr-internal-sync.yml

33 lines
699 B
YAML
Raw Normal View History

2023-02-02 14:10:10 +00:00
pr: none
trigger:
batch: true
branches:
include:
- internal/release/*
resources:
repositories:
- repository: vmr
type: git
name: dotnet-dotnet
ref: $(Build.SourceBranch)
parameters:
- name: vmrBranch
displayName: dotnet-dotnet branch to push to
type: string
default: ''
variables:
- ${{ if ne(parameters.vmrBranch, '') }}:
- name: VmrBranch
value: ${{ parameters.vmrBranch }}
- ${{ else }}:
- name: VmrBranch
value: ${{ replace(replace(variables['Build.SourceBranch'], 'refs/heads/', ''), 'refs/pull/', '') }}
jobs:
- template: /eng/pipelines/templates/jobs/vmr-synchronization.yml
parameters:
vmrBranch: ${{ variables.VmrBranch }}