Added script to auto-push to nuget.

This commit is contained in:
mmuffins 2018-05-27 18:48:02 +02:00
parent dabadaa3ed
commit 12f3561c6e

6
Push-nuget.ps1 Normal file
View File

@ -0,0 +1,6 @@
$apiKey = Read-Host "Please enter your nuget api key"
nuget pack .\SteamStorefrontAPI\SteamStorefrontAPI.csproj -Symbols -Prop Configuration=Release
nuget push SteamStorefrontAPI.*.nupkg -ApiKey $apiKey -source nuget.org
nuget push SteamStorefrontAPI.*.symbols.nupkg -ApiKey $apiKey -source https://nuget.smbsrc.net/
Read-Host