mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
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:
@@ -173,18 +173,17 @@ steps:
|
|||||||
MaxRetryAttempts: 20
|
MaxRetryAttempts: 20
|
||||||
condition: and(succeeded(), eq(variables['signed'], true))
|
condition: and(succeeded(), eq(variables['signed'], true))
|
||||||
|
|
||||||
- powershell: |
|
- task: CmdLine@1
|
||||||
. build/azure-pipelines/win32/exec.ps1
|
displayName: 'Delete CodeSignSummary.md'
|
||||||
$ErrorActionPreference = "Stop"
|
inputs:
|
||||||
exec { del $(Build.SourcesDirectory)\..\azuredatastudio-win32-x64\CodeSignSummary*.md }
|
filename: del
|
||||||
|
arguments: '$(Build.SourcesDirectory)\..\azuredatastudio-win32-x64\CodeSignSummary*.md'
|
||||||
condition: and(succeeded(), eq(variables['signed'], true))
|
condition: and(succeeded(), eq(variables['signed'], true))
|
||||||
displayName: Delete CodeSignSummary.md
|
|
||||||
|
|
||||||
- powershell: |
|
- powershell: |
|
||||||
. build/azure-pipelines/win32/exec.ps1
|
. build/azure-pipelines/win32/exec.ps1
|
||||||
$ErrorActionPreference = "Stop"
|
$ErrorActionPreference = "Stop"
|
||||||
exec { yarn gulp "vscode-win32-x64-user-setup" }
|
exec { yarn gulp "vscode-win32-x64-user-setup" }
|
||||||
continueOnError: true
|
|
||||||
displayName: User setup
|
displayName: User setup
|
||||||
|
|
||||||
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1
|
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1
|
||||||
@@ -241,19 +240,18 @@ steps:
|
|||||||
MaxRetryAttempts: 20
|
MaxRetryAttempts: 20
|
||||||
condition: and(succeeded(), eq(variables['signed'], true))
|
condition: and(succeeded(), eq(variables['signed'], true))
|
||||||
|
|
||||||
- powershell: |
|
- task: CmdLine@1
|
||||||
. build/azure-pipelines/win32/exec.ps1
|
displayName: 'Delete CodeSignSummary.md for user installer'
|
||||||
$ErrorActionPreference = "Stop"
|
inputs:
|
||||||
exec { del $(Build.SourcesDirectory)\.build\win32-x64\user-setup\CodeSignSummary.md }
|
filename: del
|
||||||
condition: and(succeeded(), eq(variables['signed'], true))
|
arguments: '$(Build.SourcesDirectory)\.build\win32-x64\user-setup\CodeSignSummary.md'
|
||||||
continueOnError: true
|
continueOnError: true
|
||||||
displayName: Delete CodeSignSummary.md
|
condition: and(succeeded(), eq(variables['signed'], true))
|
||||||
|
|
||||||
- powershell: |
|
- powershell: |
|
||||||
. build/azure-pipelines/win32/exec.ps1
|
. build/azure-pipelines/win32/exec.ps1
|
||||||
$ErrorActionPreference = "Stop"
|
$ErrorActionPreference = "Stop"
|
||||||
exec { yarn gulp "vscode-win32-x64-system-setup" }
|
exec { yarn gulp "vscode-win32-x64-system-setup" }
|
||||||
continueOnError: true
|
|
||||||
displayName: System setup
|
displayName: System setup
|
||||||
|
|
||||||
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1
|
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1
|
||||||
@@ -310,13 +308,13 @@ steps:
|
|||||||
MaxRetryAttempts: 20
|
MaxRetryAttempts: 20
|
||||||
condition: and(succeeded(), eq(variables['signed'], true))
|
condition: and(succeeded(), eq(variables['signed'], true))
|
||||||
|
|
||||||
- powershell: |
|
- task: CmdLine@1
|
||||||
. build/azure-pipelines/win32/exec.ps1
|
displayName: 'Delete CodeSignSummary.md for installer'
|
||||||
$ErrorActionPreference = "Stop"
|
inputs:
|
||||||
exec { del $(Build.SourcesDirectory)\.build\win32-x64\system-setup\CodeSignSummary.md }
|
filename: del
|
||||||
condition: and(succeeded(), eq(variables['signed'], true))
|
arguments: '$(Build.SourcesDirectory)\.build\win32-x64\system-setup\CodeSignSummary.md'
|
||||||
continueOnError: true
|
continueOnError: true
|
||||||
displayName: Delete CodeSignSummary.md
|
condition: and(succeeded(), eq(variables['signed'], true))
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
if exist $(Build.SourcesDirectory)\..\azuredatastudio-windows rmdir /s /q $(Build.SourcesDirectory)\..\azuredatastudio-windows
|
if exist $(Build.SourcesDirectory)\..\azuredatastudio-windows rmdir /s /q $(Build.SourcesDirectory)\..\azuredatastudio-windows
|
||||||
|
|||||||
Reference in New Issue
Block a user