Browse Source

Merge pull request #16148 from abpframework/auto-merge/rel-7-1/1843

Merge branch dev with rel-7.1
pull/16180/head
selman koc 4 years ago
committed by GitHub
parent
commit
cefedcbff0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      build/build-all-release.ps1
  2. 2
      nupkg/pack.ps1
  3. 2
      nupkg/unit_test.ps1

2
build/build-all-release.ps1

@ -5,7 +5,7 @@
foreach ($solutionPath in $solutionPaths) {
$solutionAbsPath = (Join-Path $rootFolder $solutionPath)
Set-Location $solutionAbsPath
dotnet build --configuration Release
dotnet build --configuration Release -- /maxcpucount
if (-Not $?) {
Write-Host ("Build failed for the solution: " + $solutionPath)
Set-Location $rootFolder

2
nupkg/pack.ps1

@ -23,9 +23,11 @@ foreach($project in $projects) {
# Create nuget pack
Write-Info "[$i / $projectsCount] - Packing project: $projectName"
Set-Location $projectFolder
#dotnet clean
dotnet pack -c Release --no-build
if (-Not $?) {
Write-Error "Packaging failed for the project: $projectName"
exit $LASTEXITCODE

2
nupkg/unit_test.ps1

@ -4,5 +4,5 @@
foreach($solution in $solutions) {
$solutionFolder = Join-Path $rootFolder $solution
Set-Location $solutionFolder
dotnet test --configuration Release --logger trx -- /maxcpucount
dotnet test --no-build --logger trx
}

Loading…
Cancel
Save