Skip to content

Commit

Permalink
Minor change to appveyor build script
Browse files Browse the repository at this point in the history
  • Loading branch information
pleb committed Jul 18, 2018
1 parent 40efd23 commit 77359a8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,12 @@ build: off
build_script:
- ps: >-
$packVersion = $env:APPVEYOR_BUILD_VERSION
if ($env:APPVEYOR_REPO_BRANCH -ieq "development") {
$packVersion += "-beta"
}
dotnet pack -c "Release" /p:PackageVersion=$packVersion
dotnet nuget push ".\PetaPoco\bin\Release\*.nupkg" -k $env:NUGET_API_KEY -s https://www.nuget.org/api/v2/package
test: off

0 comments on commit 77359a8

Please sign in to comment.