File tree Expand file tree Collapse file tree 1 file changed +20
-1
lines changed
Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,14 @@ stages:
4646 ARTIFACT_DIR: $(ARTIFACT_DIR)
4747 ESRP_CONNECTION_NAME: $(ESRP_CONNECTION_NAME)
4848
49+ - pwsh : npx @vscode/vsce@latest generate-manifest -i $(ARTIFACT_DIR)/vscode-edge-devtools.vsix -o $(ARTIFACT_DIR)/vscode-edge-devtools.manifest
50+ displayName : ' Generate extension manifest'
51+
52+ - pwsh : cp $(ARTIFACT_DIR)/vscode-edge-devtools.manifest $(ARTIFACT_DIR)/vscode-edge-devtools.signature.p7s
53+ displayName : ' Prepare manifest for signing'
54+
4955 - task : EsrpCodeSigning@6
56+ conditional : false
5057 inputs :
5158 ConnectedServiceName : $(ESRP_CONNECTION_NAME)
5259 AppRegistrationClientId : $(appRegistrationClientId)
@@ -56,7 +63,18 @@ stages:
5663 AuthAKVName : $(esrpAuthAkvName)
5764 AuthSignCertName : $(esrpAuthCertName)
5865 FolderPath : $(ARTIFACT_DIR)
59- Pattern : ' *.vsix'
66+ Pattern : ' extension.signature.p7'
67+ signConfigType : ' inlineSignParams'
68+ inlineOperation : |
69+ [
70+ {
71+ "keyCode": "$(KEY_CODE)",
72+ "operationSetCode": "$(OPERATION_SET_CODE)",
73+ "parameters" : [],
74+ "toolName": "sign",
75+ "toolVersion": "1.0"
76+ }
77+ ]
6078 SessionTimeout : ' 60'
6179 MaxConcurrency : ' 50'
6280 MaxRetryAttempts : ' 5'
@@ -78,3 +96,4 @@ stages:
7896
7997
8098
99+
You can’t perform that action at this time.
0 commit comments