From 85170c1c70401fabee8d4ed9345ff71df450eb8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emek=20Vysok=C3=BD?= Date: Tue, 22 Aug 2023 09:35:12 +0200 Subject: [PATCH] [release/8.0.1xx-rc1] Check out correct VMR branch PR builds (#17232) --- eng/pipelines/vmr-build-internal.yml | 4 ++-- eng/pipelines/vmr-build.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/eng/pipelines/vmr-build-internal.yml b/eng/pipelines/vmr-build-internal.yml index d4bd115785ca..62812391e68d 100644 --- a/eng/pipelines/vmr-build-internal.yml +++ b/eng/pipelines/vmr-build-internal.yml @@ -23,14 +23,14 @@ variables: value: ${{ replace(parameters.vmrBranch, ' ', '') }} - ${{ else }}: - name: VmrBranch - value: ${{ replace(replace(variables['System.PullRequest.TargetBranch'], 'refs/heads/', ''), 'refs/pull/', '') }} + value: release/8.0.1xx-rc1 resources: repositories: - repository: vmr type: git name: dotnet-dotnet - ref: ${{ variables.VmrBranch }} + ref: $(VmrBranch) stages: # You can temporarily disable the VMR Build stage by changing the default of disableVmrBuild diff --git a/eng/pipelines/vmr-build.yml b/eng/pipelines/vmr-build.yml index a675aed389d3..1b122b4f76a2 100644 --- a/eng/pipelines/vmr-build.yml +++ b/eng/pipelines/vmr-build.yml @@ -22,7 +22,7 @@ variables: value: ${{ replace(parameters.vmrBranch, ' ', '') }} - ${{ else }}: - name: VmrBranch - value: ${{ replace(replace(variables['System.PullRequest.TargetBranch'], 'refs/heads/', ''), 'refs/pull/', '') }} + value: release/8.0.1xx-rc1 resources: repositories: @@ -30,7 +30,7 @@ resources: type: github name: dotnet/dotnet endpoint: dotnet - ref: ${{ variables.VmrBranch }} + ref: $(VmrBranch) stages: # You can temporarily disable the VMR Build stage by setting the disableVmrBuild variable