From 433fffab1e4aa28fad38b3ca333e3ee9924bda32 Mon Sep 17 00:00:00 2001 From: Jake Friedman <31931010+spaceisfun@users.noreply.github.com> Date: Tue, 20 Apr 2021 17:15:38 -0700 Subject: [PATCH] Create Symbol zip during service zip creation (#138) --- build/internal/CreateServiceZip.ps1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build/internal/CreateServiceZip.ps1 b/build/internal/CreateServiceZip.ps1 index 82765739..a836cc9d 100644 --- a/build/internal/CreateServiceZip.ps1 +++ b/build/internal/CreateServiceZip.ps1 @@ -76,6 +76,9 @@ if ((Test-Path $DestinationDir) -eq $false) } Compress-Archive -Path "$tmpdir/*" -DestinationPath "$DestinationDir/Microsoft.FactoryOrchestrator.Service-$version-$BuildOS-$BuildPlatform.zip" -Force +# create Symbols zip +Get-ChildItem -Recurse -Filter "*.pdb" -Path "$publishdir" | Compress-Archive -DestinationPath "$DestinationDir/Microsoft.FactoryOrchestrator.Service-$version-$BuildOS-$BuildPlatform.Symbols.zip" -Force + # clean temp dirs Remove-Item $tmpdir -Recurse -Force Remove-Item $tmppublishdir -Recurse -Force \ No newline at end of file