Skip to content

Commit

Permalink
Merge in 'release/6.0' changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dotnet-bot committed Jun 11, 2022
2 parents a230c58 + 5e9a29f commit d5d443e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .azure/pipelines/azure-pipelines-mirror-within-azdo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,13 @@ jobs:
value: repo-dir
- name: AzdoRepo
value: dotnet-aspnetcore
- name: TargetBranchName
value: $(Build.SourceBranchName)-nonstable
- name: BranchToMirror
value: $(Build.SourceBranchName)
steps:
- powershell: |
$branch = "$(Build.SourceBranch)".Replace("refs/heads/", "");
$suffix = "-nonstable"
Write-Host "##vso[task.setvariable variable=BranchToMirror]$branch"
Write-Host "##vso[task.setvariable variable=TargetBranchName]$branch+$suffix"
displayName: Calculate Mirrored Branch Names
- script: |
git clone https://dn-bot:$(dn-bot-dnceng-build-rw-code-rw)@dev.azure.com/dnceng/internal/_git/$(AzdoRepo) $(WorkingDirectoryName) --recursive --no-tags --branch $(TargetBranchName)
displayName: Clone AzDO repo
Expand Down

0 comments on commit d5d443e

Please sign in to comment.