From 888967be316ddd8c9172d328084e2861299c187c Mon Sep 17 00:00:00 2001 From: Michael Bucari-Tovo Date: Sun, 26 Jun 2022 01:22:46 -0600 Subject: [PATCH] Pack files, not folder. --- Source/publish.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/publish.ps1 b/Source/publish.ps1 index 42526049..23fba050 100644 --- a/Source/publish.ps1 +++ b/Source/publish.ps1 @@ -12,4 +12,5 @@ dotnet publish -c Release Hangover\Hangover.csproj -p:PublishProfile=Hangover\Pr $verMatch = Select-String -Path 'AppScaffolding\AppScaffolding.csproj' -Pattern '(\d{0,3}\.\d{0,3}\.\d{0,3})\.\d{0,3}' $archiveName = "bin\Libation."+$verMatch.Matches.Groups[1].Value+".zip" -Compress-Archive -Path $pubDir -DestinationPath $archiveName -Force \ No newline at end of file +Get-ChildItem -Path $pubDir -Recurse | + Compress-Archive -DestinationPath $archiveName -Force \ No newline at end of file