Skip to content

Commit

Permalink
change nuget push script
Browse files Browse the repository at this point in the history
  • Loading branch information
nabinked committed Mar 21, 2019
1 parent 742d84f commit 77fff3e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/nuget-push.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
npm install
npm run build
dotnet build -c Release
Push-Location ..
dotnet test
Pop-Location
dotnet pack -c Release --no-build -o .\temp-nuget-pack-folder
if ([string]::IsNullOrEmpty($Env:nugetApiKey)) {
throw "Nuget api key not found"
Expand Down

0 comments on commit 77fff3e

Please sign in to comment.