Skip to content

Commit

Permalink
revert the sig removal from 2019 image
Browse files Browse the repository at this point in the history
  • Loading branch information
bragi92 committed Oct 24, 2024
1 parent f43479e commit 0826d2f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .pipelines/azure-pipeline-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1271,14 +1271,14 @@ stages:
- script: dir $(Build.ArtifactStagingDirectory)
displayName: 'List files in Staging Directory'

- task: PowerShell@2
displayName: Remove existing signature from telegraf
inputs:
targetType: 'inline'
script: |
echo "Removing existing signature from telegraf.exe..."
$signtoolPath = "${env:ProgramFiles(x86)}\Microsoft SDKs\ClickOnce\SignTool\signtool.exe"
& $signtoolPath remove /c /u "$(Build.ArtifactStagingDirectory)/ossSigning/telegraf.exe"
# - task: PowerShell@2
# displayName: Remove existing signature from telegraf
# inputs:
# targetType: 'inline'
# script: |
# echo "Removing existing signature from telegraf.exe..."
# $signtoolPath = "${env:ProgramFiles(x86)}\Microsoft SDKs\ClickOnce\SignTool\signtool.exe"
# & $signtoolPath remove /c /u "$(Build.ArtifactStagingDirectory)/ossSigning/telegraf.exe"

- task: EsrpCodeSigning@5
inputs:
Expand Down

0 comments on commit 0826d2f

Please sign in to comment.