Skip to content

Commit

Permalink
Move nuget packing to build script.
Browse files Browse the repository at this point in the history
  • Loading branch information
nozzlegear committed Apr 11, 2017
1 parent 2c180b2 commit e5c896e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
2 changes: 0 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ build_script:
- ps: ./ps/build_script.ps1
test_script:
- ps: ./ps/test_script.ps1
before_deploy:
- ps: ./ps/before_deploy.ps1
artifacts:
- path: Davenport/bin/Release/netstandard1.4
name: netstandard14
Expand Down
6 changes: 0 additions & 6 deletions ps/before_deploy.ps1

This file was deleted.

8 changes: 7 additions & 1 deletion ps/build_script.ps1
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
dotnet restore;
dotnet build -c Release;
dotnet build -c Release;
dotnet pack --no-build -c Release Davenport/davenport.csproj;

$nupkg = (gci Davenport/bin/Release/*.nupkg)[0];

# Push the nuget package to AppVeyor's artifact list.
Push-AppveyorArtifact $nupkg.FullName -FileName $nupkg.Name -DeploymentName "davenport.nupkg";

0 comments on commit e5c896e

Please sign in to comment.