From bb5a524f988ddc0a6f770464c42f3ae8861c83ed Mon Sep 17 00:00:00 2001 From: Alper Ebicoglu Date: Tue, 14 Dec 2021 14:42:32 +0300 Subject: [PATCH] update deploy scripts --- common.props | 14 +++++--------- nupkg/common.ps1 | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+), 9 deletions(-) diff --git a/common.props b/common.props index 0f8da1384d..eb660380a5 100644 --- a/common.props +++ b/common.props @@ -1,7 +1,7 @@ latest - 5.0.0-rc.2 + 5.0.0 $(NoWarn);CS1591;CS0436 https://abp.io/assets/abp_nupkg.png https://abp.io/ @@ -9,28 +9,24 @@ git https://github.com/abpframework/abp/ true - $(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb - all - runtime; build; native; contentfiles; analyzers + all + runtime; build; native; contentfiles; analyzers - - + true Never - - - + \ No newline at end of file diff --git a/nupkg/common.ps1 b/nupkg/common.ps1 index f356175dd9..3d4e206d5c 100644 --- a/nupkg/common.ps1 +++ b/nupkg/common.ps1 @@ -2,6 +2,42 @@ $packFolder = (Get-Item -Path "./" -Verbose).FullName $rootFolder = Join-Path $packFolder "../" +function Write-Info +{ + param( + [Parameter(Mandatory = $true)] + [string] + $text + ) + + Write-Host $text -ForegroundColor Black -BackgroundColor Green + + try + { + $host.UI.RawUI.WindowTitle = $text + } + catch + { + #Changing window title is not suppoerted! + } +} + +function Write-Error +{ + param( + [Parameter(Mandatory = $true)] + [string] + $text + ) + + Write-Host $text -ForegroundColor Red -BackgroundColor Black +} + +function Seperator +{ + Write-Host ("_" * 100) -ForegroundColor gray +} + # List of solutions $solutions = ( "framework",