Skip to content

Commit

Permalink
Match on whole branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
nohwnd committed Jun 8, 2020
1 parent 9ed42e4 commit 6de7aca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/vsts-prebuild.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ $buildPrefix = $TpVersion.Trim()

if ($IsRtmBuild.ToLower() -eq "false")
{
if ($null -ne $Branch -and $Branch -like "rel/*")
if ($null -ne $Branch -and $Branch -like "refs/heads/rel/*")
{
$BuildSuffix -replace "preview", "release"
}
Expand Down

0 comments on commit 6de7aca

Please sign in to comment.