From 98079d45a1caa75c13a43460d83d6d9dd3d3fc96 Mon Sep 17 00:00:00 2001 From: Ladi Prosek Date: Tue, 12 Oct 2021 16:00:05 +0200 Subject: [PATCH] Fix EngineServices version bump check follow-up --- eng/build.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/build.ps1 b/eng/build.ps1 index 50aa653d5ea..a851bf25b8e 100644 --- a/eng/build.ps1 +++ b/eng/build.ps1 @@ -161,7 +161,7 @@ function Check-RequiredVersionBumps() { $targetBranch = $env:SYSTEM_PULLREQUEST_TARGETBRANCH if ($targetBranch) { # Prepend remote reference if the branch is not local - if (!$targetBranch.StartsWith("refs/head/")) { + if (!$targetBranch.StartsWith("refs/heads/")) { $targetBranch = "refs/remotes/origin/" + $targetBranch } $versionLineChanged = $false