Fix branch filters for the VMR synchronization (#15161)
This commit is contained in:
parent
bbd2f682dc
commit
0d24684503
2 changed files with 4 additions and 2 deletions
|
@ -64,4 +64,4 @@ jobs:
|
|||
git push dotnet ${{ parameters.vmrBranch }}
|
||||
displayName: Push changes to dotnet/dotnet
|
||||
workingDirectory: $(vmrPath)
|
||||
condition: and(succeeded(), or(eq('${{ parameters.vmrBranch }}', 'main'), startsWith('${{ parameters.vmrBranch }}', 'release/')))
|
||||
condition: and(succeeded(), or(eq(variables['vmrBranch'], 'main'), startsWith(variables['vmrBranch'], 'release/')))
|
||||
|
|
|
@ -29,7 +29,9 @@ steps:
|
|||
displayName: Restore darc
|
||||
workingDirectory: $(Agent.BuildDirectory)/installer
|
||||
|
||||
- script: git checkout -B ${{ parameters.vmrBranch }}
|
||||
- script: |
|
||||
git checkout -B ${{ parameters.vmrBranch }}
|
||||
echo "##vso[task.setvariable variable=vmrBranch]${{ parameters.vmrBranch }}"
|
||||
displayName: Prepare branch ${{ parameters.vmrBranch }}
|
||||
workingDirectory: ${{ parameters.vmrPath }}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue