SteamStorefrontAPI/Push-nuget.ps1

7 lines
402 B
PowerShell
Raw Normal View History

2018-05-27 12:48:02 -04:00
$apiKey = Read-Host "Please enter your nuget api key"
2018-05-27 12:52:08 -04:00
Get-ChildItem -File -Filter SteamStorefrontAPI.*nupkg | Remove-Item -Force
2018-05-27 12:48:02 -04:00
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