Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.

Commit 14ad237

Browse files
authored
Fix build signing (#958)
* Update azure-pipelines.yml * Update azure-pipelines.yml
1 parent 206a94e commit 14ad237

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

azure-pipelines.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,8 @@ jobs:
183183
configuration: Release
184184
msbuildArguments: '/t:Pack /p:PackageVersion=$(NugetPackageVersion) /p:PackageOutputPath="$(Build.ArtifactStagingDirectory)/nuget"'
185185

186-
- ${{ if and(eq(variables['System.TeamProject'], 'devdiv'), ne(variables['System.DefinitionId'], '13296')) }}:
186+
- ${{ if eq(variables['System.TeamProject'], 'devdiv') }}:
187187
- template: sign-artifacts/jobs/v2.yml@internal-templates
188188
parameters:
189189
dependsOn: [ build_windows ]
190-
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/')
190+
condition: and(succeeded(), or(eq(variables['Sign'], 'true'), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), startsWith(variables['Build.SourceBranch'],'refs/tags/'))))

0 commit comments

Comments
 (0)