From 733bfdc26c871be4e9b3e077069a6e0d209c837d Mon Sep 17 00:00:00 2001 From: Daniel Jurek Date: Wed, 27 Mar 2024 16:32:46 -0700 Subject: [PATCH] Artifacts now include a _manifest folder which breaks signing. Ensure that _manifest is removed when preparing to sign (#3606) --- eng/pipelines/templates/stages/sign.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/eng/pipelines/templates/stages/sign.yml b/eng/pipelines/templates/stages/sign.yml index 4c866909e95..a26dabc71af 100644 --- a/eng/pipelines/templates/stages/sign.yml +++ b/eng/pipelines/templates/stages/sign.yml @@ -97,8 +97,12 @@ stages: artifact: install-pwsh path: installer - - pwsh: Copy-Item installer/*.ps1 win - displayName: Copy install scripts to win/ + - pwsh: | + Remove-Item -Recurse -Force win/_manifest + Copy-Item installer/*.ps1 win + + Get-Childitem -Recurse win/ | Select-Object -Property Length,FullName + displayName: Prepare assets for signing - ${{ if and(in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI', 'Manual'), eq(variables['Build.Repository.Name'], 'Azure/azure-dev')) }}: - template: pipelines/steps/azd-cli-win-signing.yml@azure-sdk-build-tools