Skip to content

Commit 3518cee

Browse files
Enable in-build signing based on branch (#81498)
Co-authored-by: Matt Mitchell <[email protected]>
1 parent 1b2c4a9 commit 3518cee

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

eng/pipelines/common/internal-variables.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,9 @@ parameters:
44
variables:
55
- name: TeamName
66
value: ${{ parameters.teamName }}
7-
- name: PostBuildSign
8-
value: true
7+
- ${{ if or(startswith(variables['Build.SourceBranch'], 'refs/heads/release/'), startswith(variables['Build.SourceBranch'], 'refs/heads/internal/release/'), eq(variables['Build.Reason'], 'Manual')) }}:
8+
- name: PostBuildSign
9+
value: false
10+
- ${{ else }}:
11+
- name: PostBuildSign
12+
value: true

0 commit comments

Comments
 (0)