make component branch name specification more flexible (#10290)
This commit is contained in:
Родитель
c8719fd936
Коммит
25ec76ce45
|
@ -415,7 +415,7 @@ stages:
|
|||
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
|
||||
- template: eng/release/insert-into-vs.yml
|
||||
parameters:
|
||||
componentBranchName: refs/heads/release/dev16.8
|
||||
componentBranchName: release/dev16.8
|
||||
insertTargetBranch: master
|
||||
insertTeamEmail: fsharpteam@microsoft.com
|
||||
insertTeamName: 'F#'
|
||||
|
|
|
@ -55,4 +55,4 @@ stages:
|
|||
# only auto-complete if the target branch is not `rel/*`
|
||||
AutoCompletePR: ${{ not(contains(parameters.insertTargetBranch, 'rel/')) }}
|
||||
LinkWorkItemsToPR: false
|
||||
condition: and(succeeded(), eq(variables['Build.SourceBranch'], '${{ parameters.componentBranchName }}'))
|
||||
condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], '${{ parameters.componentBranchName }}'), eq(variables['Build.SourceBranch'], 'refs/heads/${{ parameters.componentBranchName }}')))
|
||||
|
|
Загрузка…
Ссылка в новой задаче