fix - Copy file task does not copy required files (#1516)
This commit is contained in:
Родитель
b5c05924a3
Коммит
19af24afa5
|
@ -45,9 +45,9 @@ extends:
|
|||
jdkArchitectureOption: 'x64'
|
||||
jdkSourceOption: 'PreInstalled'
|
||||
- task: NodeTool@0
|
||||
displayName: Install Node 16.14.2
|
||||
displayName: Install Node 18.x
|
||||
inputs:
|
||||
versionSpec: '16.14.2'
|
||||
versionSpec: 18.x
|
||||
- task: Gradle@2
|
||||
displayName: Build
|
||||
inputs:
|
||||
|
|
|
@ -180,13 +180,13 @@ extends:
|
|||
"ToolVersion" : "1.0"
|
||||
}
|
||||
]
|
||||
- script: npx @vscode/vsce@latest package --pre-release -o extension.vsix
|
||||
- bash: npx @vscode/vsce@latest package --pre-release -o extension.vsix
|
||||
workingDirectory: $(Build.SourcesDirectory)/extension
|
||||
displayName: Package VSIX
|
||||
- script: npx @vscode/vsce@latest generate-manifest -i extension.vsix -o extension.manifest
|
||||
- bash: npx @vscode/vsce@latest generate-manifest -i extension.vsix -o extension.manifest
|
||||
workingDirectory: $(Build.SourcesDirectory)/extension
|
||||
displayName: 'Generate extension manifest'
|
||||
- script: cp extension.manifest extension.signature.p7s
|
||||
- bash: cp extension.manifest extension.signature.p7s
|
||||
workingDirectory: $(Build.SourcesDirectory)/extension
|
||||
displayName: 'Prepare manifest for signing'
|
||||
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@5
|
||||
|
@ -219,7 +219,7 @@ extends:
|
|||
displayName: Copy VSIX
|
||||
inputs:
|
||||
Contents: |
|
||||
'extension/extension.vsix'
|
||||
'extension/extension.manifest'
|
||||
'extension/extension.signature.p7s'
|
||||
extension/extension.vsix
|
||||
extension/extension.manifest
|
||||
extension/extension.signature.p7s
|
||||
TargetFolder: '$(Build.ArtifactStagingDirectory)'
|
||||
|
|
|
@ -181,7 +181,7 @@ extends:
|
|||
- bash: npx @vscode/vsce@latest generate-manifest -i extension.vsix -o extension.manifest
|
||||
workingDirectory: $(Build.SourcesDirectory)/extension
|
||||
displayName: 'Generate extension manifest'
|
||||
- script: cp extension.manifest extension.signature.p7s
|
||||
- bash: cp extension.manifest extension.signature.p7s
|
||||
workingDirectory: $(Build.SourcesDirectory)/extension
|
||||
displayName: 'Prepare manifest for signing'
|
||||
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@5
|
||||
|
@ -214,7 +214,7 @@ extends:
|
|||
displayName: Copy VSIX
|
||||
inputs:
|
||||
Contents: |
|
||||
'extension/extension.vsix'
|
||||
'extension/extension.manifest'
|
||||
'extension/extension.signature.p7s'
|
||||
extension/extension.vsix
|
||||
extension/extension.manifest
|
||||
extension/extension.signature.p7s
|
||||
TargetFolder: '$(Build.ArtifactStagingDirectory)'
|
||||
|
|
Загрузка…
Ссылка в новой задаче