Skip to content

Commit 74594a4

Browse files
committed
fix(build.ps1): remove obsolete exec cmd
1 parent c9bcf3b commit 74594a4

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

Build.ps1

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
exec { & dotnet restore .\src\JsonApiDotNetCore\JsonApiDotNetCore.csproj }
2-
31
$revision = @{ $true = $env:APPVEYOR_BUILD_NUMBER; $false = 1 }[$env:APPVEYOR_BUILD_NUMBER -ne $NULL];
42
$revision = "{0:D4}" -f [convert]::ToInt32($revision, 10)
53

6-
exec { & dotnet build .\src\JsonApiDotNetCore -c Release }
7-
8-
exec { & dotnet pack .\src\JsonApiDotNetCore -c Release -o .\artifacts --version-suffix=$revision }
4+
dotnet restore .\src\JsonApiDotNetCore\JsonApiDotNetCore.csproj
5+
dotnet build .\src\JsonApiDotNetCore -c Release
6+
dotnet pack .\src\JsonApiDotNetCore -c Release -o .\artifacts --version-suffix=$revision

0 commit comments

Comments
 (0)