Skip to content
代码片段 群组 项目
未验证 提交 5e9a29f0 编辑于 作者: github-actions[bot]'s avatar github-actions[bot] 提交者: GitHub
浏览文件

[release/6.0] Fix branch names again (#42142)


* Fix branch names again

* Update azure-pipelines-mirror-within-azdo.yml

* Update azure-pipelines-mirror-within-azdo.yml

Co-authored-by: default avatarWilliam Godbe <wigodbe@microsoft.com>
上级 bd44d901
No related branches found
No related tags found
无相关合并请求
......@@ -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
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册