File tree 1 file changed +16
-0
lines changed
1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -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.vsixVersion).vsix
118
+ cp out/powershell-$(package.vsixVersion).manifest out/powershell-$(package.vsixVersion).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