File tree 1 file changed +17
-1
lines changed
1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ extends:
57
57
EnableCDPxPAT : false
58
58
WindowsHostVersion :
59
59
Version : 2022
60
- Network : Netlock
60
+ Network : KS3
61
61
stages :
62
62
- stage : build
63
63
jobs :
@@ -113,6 +113,18 @@ extends:
113
113
files_to_sign : ' **/*.ps1;**/*.psd1;**/*.psm1'
114
114
- pwsh : Invoke-Build Package
115
115
displayName : Create package
116
+ - pwsh : |
117
+ npx vsce generate-manifest --packagePath out/powershell-$(package.version).vsix
118
+ cp out/powershell-$(package.version).manifest out/powershell-$(package.version).signature.p7s
119
+ displayName: Generate VSIX manifest
120
+ - task : onebranch.pipeline.signing@1
121
+ displayName : Sign VSIX manifest
122
+ inputs :
123
+ command : sign
124
+ cp_code : ' CP-401405-VSCodePublisherSign'
125
+ search_root : $(Build.SourcesDirectory)/out
126
+ files_to_sign : |
127
+ *.signature.p7s;
116
128
- job : test
117
129
displayName : Build and run tests
118
130
pool :
@@ -220,6 +232,10 @@ extends:
220
232
'--azure-credential'
221
233
'--packagePath'
222
234
'$(drop)/powershell-$(vsixVersion).vsix'
235
+ '--manifestPath'
236
+ '$(drop)/powershell-$(vsixVersion).manifest'
237
+ '--signaturePath'
238
+ '$(drop)/powershell-$(vsixVersion).signature.p7s'
223
239
if ([bool]::Parse('$(prerelease)')) { '--pre-release' }
224
240
)
225
241
npm run publish -- @publishArgs
You can’t perform that action at this time.
0 commit comments