Skip to content

Commit

Permalink
Add a NuGet deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
Carl-Hugo committed Dec 4, 2018
1 parent 6198fb6 commit b79e853
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions deploy-all-packages-in-directory.ps1
@@ -0,0 +1,10 @@
param(
[Alias('k')]
[string]$Key,
[Alias('s')]
[string]$sourceUri = 'https://api.nuget.org/v3/index.json '
)

Get-ChildItem . -filter *.nupkg | Foreach-Object {
dotnet nuget push $_.FullName -k $Key -s $sourceUri
}

0 comments on commit b79e853

Please sign in to comment.