Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 4b2ce02

Browse files
authored
Merge pull request #2514 from github/devops/no-sign-pr-builds
Don't sign VSIX on Azure Pipelines PR builds
2 parents 8c5f0cf + 1449724 commit 4b2ce02

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

azure-pipelines.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,11 @@ jobs:
101101
secureFile: certificate.pfx
102102

103103
- script: $(vsixsigntool_exe.secureFilePath) sign /f $(certificate_pfx.secureFilePath) /p "$(certificate_password)" /sha1 9c5a6d389e1454f2ed9ee9419cdf743689709f9c /fd sha256 /tr http://timestamp.digicert.com /td sha256 $(ArtifactDirectory)\GitHub.VisualStudio.vsix
104+
condition: not(eq(variables['Build.Reason'], 'PullRequest'))
104105
displayName: Sign the GitHub for Visual Studio VSIX
105106

106107
- script: $(vsixsigntool_exe.secureFilePath) sign /f $(certificate_pfx.secureFilePath) /p "$(certificate_password)" /sha1 9c5a6d389e1454f2ed9ee9419cdf743689709f9c /fd sha256 /tr http://timestamp.digicert.com /td sha256 $(ArtifactDirectory)\GitHub.VisualStudio.16.vsix
108+
condition: not(eq(variables['Build.Reason'], 'PullRequest'))
107109
displayName: Sign the GitHub Essentials VSIX
108110

109111
- task: PublishBuildArtifacts@1

0 commit comments

Comments
 (0)