File tree 1 file changed +9
-3
lines changed
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
22
22
23
23
echo " APPVEYOR_REPO_TAG: $env: APPVEYOR_REPO_TAG "
24
24
25
-
26
25
If ($env: APPVEYOR_REPO_TAG -eq $true ) {
27
26
$revision = Get-Version - Suffix- From- Tag
28
27
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
+ }
31
37
}
32
38
Else {
33
39
echo " VERSION-SUFFIX: alpha1-$revision "
You can’t perform that action at this time.
0 commit comments