Make sure to Real sign patches too

This commit is contained in:
Matthew Leibowitz 2021-08-19 18:58:02 +02:00
Родитель a3e7a7d49d
Коммит 8cac9b8fb3
1 изменённых файлов: 6 добавлений и 2 удалений

Просмотреть файл

@ -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
@ -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