Skip to content

Commit

Permalink
Enable in-build signing based on branch (#81498)
Browse files Browse the repository at this point in the history
Co-authored-by: Matt Mitchell <[email protected]>
  • Loading branch information
github-actions[bot] and mmitche authored Feb 1, 2023
1 parent 1b2c4a9 commit 3518cee
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions eng/pipelines/common/internal-variables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,9 @@ parameters:
variables:
- name: TeamName
value: ${{ parameters.teamName }}
- name: PostBuildSign
value: true
- ${{ if or(startswith(variables['Build.SourceBranch'], 'refs/heads/release/'), startswith(variables['Build.SourceBranch'], 'refs/heads/internal/release/'), eq(variables['Build.Reason'], 'Manual')) }}:
- name: PostBuildSign
value: false
- ${{ else }}:
- name: PostBuildSign
value: true

0 comments on commit 3518cee

Please sign in to comment.