From ef869dbe099f3c471e432a7a76f41b7f7b42a2eb Mon Sep 17 00:00:00 2001 From: Robert McRackan Date: Fri, 8 Jul 2022 14:59:31 -0400 Subject: [PATCH] new publish settings moved to Libation's settings in GitHubReleaser old sizes zipped 70.5 MB unzipped 164 MB new sizes zipped 22.5 MB unzipped 52.4 MB --- Source/publish.ps1 | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 Source/publish.ps1 diff --git a/Source/publish.ps1 b/Source/publish.ps1 deleted file mode 100644 index 23fba050..00000000 --- a/Source/publish.ps1 +++ /dev/null @@ -1,16 +0,0 @@ -<# You must enable running powershell scripts. - - Set-ExecutionPolicy -Scope CurrentUser Unrestricted -#> - -$pubDir = "bin\Publish" -Remove-Item $pubDir -Recurse -Force - -dotnet publish -c Release LibationWinForms\LibationWinForms.csproj -p:PublishProfile=LibationWinForms\Properties\PublishProfiles\FolderProfile.pubxml -dotnet publish -c Release LibationCli\LibationCli.csproj -p:PublishProfile=LibationCli\Properties\PublishProfiles\FolderProfile.pubxml -dotnet publish -c Release Hangover\Hangover.csproj -p:PublishProfile=Hangover\Properties\PublishProfiles\FolderProfile.pubxml - -$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" -Get-ChildItem -Path $pubDir -Recurse | - Compress-Archive -DestinationPath $archiveName -Force \ No newline at end of file