Remove steps that delete code sign.md (#8397)

* remove steps that delete code sign.md

* update sign tool

* fix config

* wip

* add continue on error for md delete

* try this

* copy exactly what was there

* remove final del
This commit is contained in:
Anthony Dresser
2019-11-21 23:34:18 -08:00
committed by GitHub
parent 22b8ebd281
commit fc0c05c755

View File

@@ -173,18 +173,17 @@ steps:
MaxRetryAttempts: 20
condition: and(succeeded(), eq(variables['signed'], true))
- powershell: |
. build/azure-pipelines/win32/exec.ps1
$ErrorActionPreference = "Stop"
exec { del $(Build.SourcesDirectory)\..\azuredatastudio-win32-x64\CodeSignSummary*.md }
- task: CmdLine@1
displayName: 'Delete CodeSignSummary.md'
inputs:
filename: del
arguments: '$(Build.SourcesDirectory)\..\azuredatastudio-win32-x64\CodeSignSummary*.md'
condition: and(succeeded(), eq(variables['signed'], true))
displayName: Delete CodeSignSummary.md
- powershell: |
. build/azure-pipelines/win32/exec.ps1
$ErrorActionPreference = "Stop"
exec { yarn gulp "vscode-win32-x64-user-setup" }
continueOnError: true
displayName: User setup
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1
@@ -241,19 +240,18 @@ steps:
MaxRetryAttempts: 20
condition: and(succeeded(), eq(variables['signed'], true))
- powershell: |
. build/azure-pipelines/win32/exec.ps1
$ErrorActionPreference = "Stop"
exec { del $(Build.SourcesDirectory)\.build\win32-x64\user-setup\CodeSignSummary.md }
condition: and(succeeded(), eq(variables['signed'], true))
- task: CmdLine@1
displayName: 'Delete CodeSignSummary.md for user installer'
inputs:
filename: del
arguments: '$(Build.SourcesDirectory)\.build\win32-x64\user-setup\CodeSignSummary.md'
continueOnError: true
displayName: Delete CodeSignSummary.md
condition: and(succeeded(), eq(variables['signed'], true))
- powershell: |
. build/azure-pipelines/win32/exec.ps1
$ErrorActionPreference = "Stop"
exec { yarn gulp "vscode-win32-x64-system-setup" }
continueOnError: true
displayName: System setup
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1
@@ -310,13 +308,13 @@ steps:
MaxRetryAttempts: 20
condition: and(succeeded(), eq(variables['signed'], true))
- powershell: |
. build/azure-pipelines/win32/exec.ps1
$ErrorActionPreference = "Stop"
exec { del $(Build.SourcesDirectory)\.build\win32-x64\system-setup\CodeSignSummary.md }
condition: and(succeeded(), eq(variables['signed'], true))
- task: CmdLine@1
displayName: 'Delete CodeSignSummary.md for installer'
inputs:
filename: del
arguments: '$(Build.SourcesDirectory)\.build\win32-x64\system-setup\CodeSignSummary.md'
continueOnError: true
displayName: Delete CodeSignSummary.md
condition: and(succeeded(), eq(variables['signed'], true))
- script: |
if exist $(Build.SourcesDirectory)\..\azuredatastudio-windows rmdir /s /q $(Build.SourcesDirectory)\..\azuredatastudio-windows