vmr build default branch
This commit is contained in:
parent
7a5a298f2e
commit
d62d079423
1 changed files with 3 additions and 3 deletions
|
@ -19,7 +19,7 @@ parameters:
|
|||
variables:
|
||||
- ${{ if ne(parameters.vmrBranch, ' ') }}:
|
||||
- name: VmrBranch
|
||||
value: ${{ parameters.vmrBranch }}
|
||||
value: ${{ replace(parameters.vmrBranch, ' ', '') }}
|
||||
- ${{ else }}:
|
||||
- name: VmrBranch
|
||||
value: ${{ replace(replace(variables['System.PullRequest.TargetBranch'], 'refs/heads/', ''), 'refs/pull/', '') }}
|
||||
|
|
Loading…
Add table
Reference in a new issue