File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -22,12 +22,18 @@ dotnet build .\src\JsonApiDotNetCore -c Release
2222
2323echo " APPVEYOR_REPO_TAG: $env: APPVEYOR_REPO_TAG "
2424
25-
2625If ($env: APPVEYOR_REPO_TAG -eq $true ) {
2726 $revision = Get-Version - Suffix- From- Tag
2827 echo " VERSION-SUFFIX: $revision "
29- echo " RUNNING dotnet pack .\src\JsonApiDotNetCore -c Release -o .\artifacts --version-suffix=$revision "
30- dotnet pack .\src\JsonApiDotNetCore - c Release - o .\artifacts -- version- suffix= $revision
28+
29+ IF ([string ]::IsNullOrWhitespace($revision )){
30+ echo " RUNNING dotnet pack .\src\JsonApiDotNetCore -c Release -o .\artifacts"
31+ dotnet pack .\src\JsonApiDotNetCore - c Release - o .\artifacts
32+ }
33+ Else {
34+ echo " RUNNING dotnet pack .\src\JsonApiDotNetCore -c Release -o .\artifacts --version-suffix=$revision "
35+ dotnet pack .\src\JsonApiDotNetCore - c Release - o .\artifacts -- version- suffix= $revision
36+ }
3137}
3238Else {
3339 echo " VERSION-SUFFIX: alpha1-$revision "
You can’t perform that action at this time.
0 commit comments