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