Skip to content

Commit

Permalink
Make sure to Real sign patches too
Browse files Browse the repository at this point in the history
  • Loading branch information
mattleibow committed Aug 19, 2021
1 parent a3e7a7d commit 8cac9b8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions scripts/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -458,9 +458,13 @@ stages:
- stage: signing
displayName: Sign NuGets
dependsOn: package
condition: eq(variables['System.TeamProject'], 'devdiv')
jobs:
- template: sign-artifacts/jobs/v2.yml@xamarin-templates
parameters:
${{ if or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), startsWith(variables['Build.SourceBranch'], 'refs/heads/patch/')) }}:
signType: 'Real'
${{ if not(or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), startsWith(variables['Build.SourceBranch'], 'refs/heads/patch/'))) }}:
signType: 'Test'

- stage: tests
displayName: Tests
Expand Down Expand Up @@ -790,7 +794,7 @@ stages:
parameters:
name: native_checks_windows
displayName: Run Code Checks
condition: and(always(), eq('refs/heads/main', variables['Build.SourceBranch']))
condition: or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), startsWith(variables['Build.SourceBranch'], 'refs/heads/patch/'))
vmImage: $(VM_IMAGE_WINDOWS_PREVIOUS)
target: git-sync-deps
installWindowsSdk: false
Expand Down

0 comments on commit 8cac9b8

Please sign in to comment.