diff --git a/scripts/vsts-prebuild.ps1 b/scripts/vsts-prebuild.ps1 index e49252e6ee..57ceae1ac8 100644 --- a/scripts/vsts-prebuild.ps1 +++ b/scripts/vsts-prebuild.ps1 @@ -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" }