Merge in 'release/8.0.1xx' changes
This commit is contained in:
commit
41b0a8cea4
3 changed files with 11 additions and 12 deletions
|
@ -90,6 +90,9 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- template: ../steps/vmr-prepare.yml
|
- template: ../steps/vmr-prepare.yml
|
||||||
parameters:
|
parameters:
|
||||||
|
${{ if eq(variables['Build.Reason'], 'PullRequest') }}:
|
||||||
|
vmrBranch: $(System.PullRequest.TargetBranch)
|
||||||
|
${{ else }}:
|
||||||
vmrBranch: ${{ parameters.vmrBranch }}
|
vmrBranch: ${{ parameters.vmrBranch }}
|
||||||
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
|
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
|
||||||
skipComponentGovernanceDetection: true
|
skipComponentGovernanceDetection: true
|
||||||
|
|
|
@ -28,9 +28,11 @@ steps:
|
||||||
path: vmr
|
path: vmr
|
||||||
clean: true
|
clean: true
|
||||||
|
|
||||||
- ${{ if or(not(parameters.isBuiltFromVmr), eq(variables['System.TeamProject'], 'internal')) }}:
|
|
||||||
- script: |
|
- script: |
|
||||||
git switch -c ${{ parameters.vmrBranch }}
|
set -euxo pipefail
|
||||||
|
git fetch --all
|
||||||
|
git checkout --track origin/${{ parameters.vmrBranch }}
|
||||||
|
echo "##vso[task.setvariable variable=vmrBranch]${{ parameters.vmrBranch }}"
|
||||||
displayName: Check out ${{ parameters.vmrBranch }}
|
displayName: Check out ${{ parameters.vmrBranch }}
|
||||||
workingDirectory: $(Agent.BuildDirectory)/vmr
|
workingDirectory: $(Agent.BuildDirectory)/vmr
|
||||||
|
|
||||||
|
|
|
@ -22,12 +22,6 @@ steps:
|
||||||
displayName: Clone dotnet/installer
|
displayName: Clone dotnet/installer
|
||||||
path: installer
|
path: installer
|
||||||
|
|
||||||
- script: |
|
|
||||||
git checkout -B ${{ parameters.vmrBranch }}
|
|
||||||
echo "##vso[task.setvariable variable=vmrBranch]${{ parameters.vmrBranch }}"
|
|
||||||
displayName: Prepare branch ${{ parameters.vmrBranch }}
|
|
||||||
workingDirectory: ${{ parameters.vmrPath }}
|
|
||||||
|
|
||||||
- script: >
|
- script: >
|
||||||
./eng/vmr-sync.sh
|
./eng/vmr-sync.sh
|
||||||
--vmr ${{ parameters.vmrPath }}
|
--vmr ${{ parameters.vmrPath }}
|
||||||
|
|
Loading…
Reference in a new issue