File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed
Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change 11param
22(
3- $Configuration = " Release" ,
4- $Version = " 0.0.0.0" ,
5- $PackageVersion = " 0.0.0"
3+ [string ] $Configuration = " Release" ,
4+ [string ] $Version = " 0.0.0.0" ,
5+ [string ] $PackageVersion = " 0.0.0" ,
6+ [switch ] $SkipTests = $false
67)
78
89Push-Location $PSScriptRoot
1516 Write-Output " Building..."
1617 dotnet build -- configuration $Configuration -- verbosity minimal -- nologo - p:Version= $Version - p:PackageVersion= $PackageVersion
1718
18- Write-Output " Running unit tests..."
19- dotnet test -- configuration $Configuration -- no- build -- nologo
19+ if ($SkipTests )
20+ {
21+ Write-Output " Running unit tests..."
22+ dotnet test -- configuration $Configuration -- no- build -- nologo
23+ }
2024
2125 Write-Output " Creating artifacts..."
2226 if (Test-Path dist)
You can’t perform that action at this time.
0 commit comments