Browse Source

Update pack.ps1

pull/16137/head
selman koc 3 years ago
committed by GitHub
parent
commit
3017975689
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      nupkg/pack.ps1

6
nupkg/pack.ps1

@ -23,8 +23,8 @@ foreach($project in $projects) {
# Create nuget pack
Write-Info "[$i / $projectsCount] - Packing project: $projectName"
Set-Location $projectFolder
dotnet clean
dotnet pack -c Release
# dotnet clean
dotnet pack -c Release /maxcpucount
if (-Not $?) {
Write-Error "Packaging failed for the project: $projectName"
@ -40,4 +40,4 @@ foreach($project in $projects) {
}
# Go back to the pack folder
Set-Location $packFolder
Set-Location $packFolder

Loading…
Cancel
Save