Skip to content

Commit 560af67

Browse files
committed
Update Pipelines
1 parent 18ece44 commit 560af67

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build/initialize-pipeline.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ $bypassPackaging = $true
44
$suffix = "-ci"
55
Write-Host "SourceBranch: $sourceBranch, Build reason: $buildReason"
66

7-
if($sourceBranch.endsWith('release/2.0') -or $sourceBranch.startsWith('release/2.0-hotfix')) {
7+
if($sourceBranch.Contains("release/2.0")) {
88
$suffix = ""
99
}
1010

11-
if(($sourceBranch.endsWith('v2.x') -or $sourceBranch.endsWith('release/2.0') -or $sourceBranch.startsWith('release/2.0-hotfix')) -and ($buildReason -ne "PullRequest"))
11+
if(($sourceBranch.endsWith('v2.x') -or $sourceBranch.Contains("release/2.0")) -and ($buildReason -ne "PullRequest"))
1212
{
1313
$bypassPackaging = $false
1414
}

0 commit comments

Comments
 (0)