Skip to content

Commit 171b9d2

Browse files
committed
debug(build.ps1): check what the value of APPVEYOR_REPO_TAG is
1 parent 3658069 commit 171b9d2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Build.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@ $revision = "{0:D4}" -f [convert]::ToInt32($revision, 10)
44
dotnet restore .\src\JsonApiDotNetCore\JsonApiDotNetCore.csproj
55
dotnet build .\src\JsonApiDotNetCore -c Release
66

7+
echo "APPVEYOR_REPO_TAG: $env:APPVEYOR_REPO_TAG"
8+
79
If($env:APPVEYOR_REPO_TAG) { dotnet pack .\src\JsonApiDotNetCore -c Release -o .\artifacts }
810
Else { dotnet pack .\src\JsonApiDotNetCore -c Release -o .\artifacts --version-suffix=alpha1-$revision }

0 commit comments

Comments
 (0)