Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/eng
diff options
context:
space:
mode:
authorMatt Mitchell <mmitche@microsoft.com>2022-09-02 18:53:35 +0300
committerGitHub <noreply@github.com>2022-09-02 18:53:35 +0300
commit734f9810e1f3fc5ff37172eb117f771202039187 (patch)
tree87451fa355cbd8608b9cf27f32cd3701b305f153 /eng
parenteb5d3f9be211f1f684ad94721331a49ac9850cd1 (diff)
Turn in-build signing on (#74941)
Diffstat (limited to 'eng')
-rw-r--r--eng/pipelines/runtime-official.yml8
1 files changed, 6 insertions, 2 deletions
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