Skip to content

Commit 13698b0

Browse files
committed
Always sign ADO builds
We only run builds on ADO with the intent to release, therefore we need to just always sign them. Otherwise the compliance scripts' default behavior is to sign when the build is manually triggered, which is not our workflow. We push a release branch and expect that automatic build to result in signing.
1 parent 57521ca commit 13698b0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.vsts-ci/templates/release-general.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ steps:
2121
alwaysCopy: true # So publishing works
2222
certificateId: 'CP-230012' # Authenticode certificate
2323
useMinimatch: true # This enables the use of globbing
24+
shouldSign: true # We always want to sign
2425
pattern: |
2526
# PowerShellEditorServices Script
2627
PowerShellEditorServices/*.{ps1,psd1,psm1,ps1xml}
@@ -39,6 +40,7 @@ steps:
3940
alwaysCopy: true # So publishing works
4041
certificateId: 'CP-231522' # Third-party certificate
4142
useMinimatch: true # This enables the use of globbing
43+
shouldSign: true # We always want to sign
4244
pattern: |
4345
**/MediatR.dll
4446
**/Nerdbank.Streams.dll

0 commit comments

Comments
 (0)