From 734f9810e1f3fc5ff37172eb117f771202039187 Mon Sep 17 00:00:00 2001 From: Matt Mitchell Date: Fri, 2 Sep 2022 08:53:35 -0700 Subject: Turn in-build signing on (#74941) --- eng/pipelines/runtime-official.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'eng') diff --git a/eng/pipelines/runtime-official.yml b/eng/pipelines/runtime-official.yml index d011ddb32f2..730aafee236 100644 --- a/eng/pipelines/runtime-official.yml +++ b/eng/pipelines/runtime-official.yml @@ -32,8 +32,12 @@ variables: value: .NETCore - name: _DotNetValidationArtifactsCategory value: .NETCoreValidation -- name: PostBuildSign - value: true +- ${{ if or(startswith(variables['Build.SourceBranch'], 'refs/heads/release/'), startswith(variables['Build.SourceBranch'], 'refs/heads/internal/release/')) }}: + - name: PostBuildSign + value: false +- ${{ else }}: + - name: PostBuildSign + value: true stages: - stage: Build -- cgit v1.2.3