Skip to content

Commit

Permalink
Change build script
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexTroshkin committed Jan 15, 2018
1 parent c22f44c commit 13fd524
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ if (Test-Path .\artifacts) { Remove-Item .\artifacts -Force -Recurse }

exec { & dotnet restore }

$revision = @{ $true = $env:APPVEYOR_BUILD_NUMBER; $false = 1 }[$env:APPVEYOR_BUILD_NUMBER -ne $NULL];
$revision = "{0:D4}" -f [convert]::ToInt32($revision, 10)

exec { & dotnet run -p .\tests\FSharp.Data.Dapper.Tests -c Release }

exec { & dotnet pack .\src\ -c Release -o .\artifacts\packages --version-suffix=$revision }
exec { & dotnet pack .\src\ -c Release -o ..\artifacts\packages }

0 comments on commit 13fd524

Please sign in to comment.