Update publish.ps1

This commit is contained in:
Gilles Lazures 2026-02-01 03:26:12 +01:00
parent 0c3dbb09dd
commit ac34361d78

View File

@ -2,16 +2,16 @@ Clear-Host
$version = "0.0.1"
Write-Host "`r`n[Task 1/5] Cleaning project..." -ForegroundColor Magenta
dotnet clean
dotnet clean -c Release
Write-Host "`r`n[Task 2/5] Building project..." -ForegroundColor Magenta
dotnet build
dotnet build -c Release
Write-Host "`r`n[Task 3/5] Restoring project..." -ForegroundColor Magenta
dotnet restore
dotnet restore
Write-Host "`r`n[Task 4/5] Packing project..." -ForegroundColor Magenta
dotnet pack --version $version
dotnet pack --version $version -c Release
Write-Host "`r`n[Task 5/5] Publishing project..." -ForegroundColor Magenta
dotnet nuget push --source AzuresBrikGitea "bin\Debug\BrikPackager.$version.nupkg" --skip-duplicate