From 12f3561c6edd0da8798aa9d687f2e1a651bcd986 Mon Sep 17 00:00:00 2001 From: mmuffins Date: Sun, 27 May 2018 18:48:02 +0200 Subject: [PATCH] Added script to auto-push to nuget. --- Push-nuget.ps1 | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 Push-nuget.ps1 diff --git a/Push-nuget.ps1 b/Push-nuget.ps1 new file mode 100644 index 0000000..9ce2b79 --- /dev/null +++ b/Push-nuget.ps1 @@ -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 \ No newline at end of file