diff options
author | Matt Mitchell <mmitche@microsoft.com> | 2022-09-02 18:53:35 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-02 18:53:35 +0300 |
commit | 734f9810e1f3fc5ff37172eb117f771202039187 (patch) | |
tree | 87451fa355cbd8608b9cf27f32cd3701b305f153 /eng | |
parent | eb5d3f9be211f1f684ad94721331a49ac9850cd1 (diff) |
Turn in-build signing on (#74941)
Diffstat (limited to 'eng')
-rw-r--r-- | eng/pipelines/runtime-official.yml | 8 |
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 |