Skip to content

Commit 6de7aca

Browse files
committed
Match on whole branch name
1 parent 9ed42e4 commit 6de7aca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/vsts-prebuild.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ $buildPrefix = $TpVersion.Trim()
1717

1818
if ($IsRtmBuild.ToLower() -eq "false")
1919
{
20-
if ($null -ne $Branch -and $Branch -like "rel/*")
20+
if ($null -ne $Branch -and $Branch -like "refs/heads/rel/*")
2121
{
2222
$BuildSuffix -replace "preview", "release"
2323
}

0 commit comments

Comments
 (0)