Skip to content

Commit

Permalink
chore: fix nuget push
Browse files Browse the repository at this point in the history
  • Loading branch information
FantasticFiasco committed Jun 1, 2018
1 parent c4ff3bb commit cc402b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ foreach ($source in Get-ChildItem .\src\*)
}

# Test
foreach ($test in Get-ChildItem test/*.Tests)
foreach ($test in Get-ChildItem test/*Tests)
{
Push-Location $test

Expand All @@ -68,7 +68,7 @@ if ($env:APPVEYOR_REPO_TAG -eq "true")

foreach ($package in Get-ChildItem *.nupkg -Exclude *.symbols.nupkg)
{
& dotnet nuget push $package --source https://www.nuget.org/api/v2/package --api-key $NUGET_API_KEY
& dotnet nuget push $package --source "https://www.nuget.org/api/v2/package" --api-key "$env:NUGET_API_KEY"
}

Pop-Location
Expand Down

0 comments on commit cc402b4

Please sign in to comment.