Updated nuget script.

This commit is contained in:
mmuffins 2018-05-27 18:52:08 +02:00
parent 12f3561c6e
commit f7b26a4055
2 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
$apiKey = Read-Host "Please enter your nuget api key" $apiKey = Read-Host "Please enter your nuget api key"
Get-ChildItem -File -Filter SteamStorefrontAPI.*nupkg | Remove-Item -Force
nuget pack .\SteamStorefrontAPI\SteamStorefrontAPI.csproj -Symbols -Prop Configuration=Release nuget pack .\SteamStorefrontAPI\SteamStorefrontAPI.csproj -Symbols -Prop Configuration=Release
nuget push SteamStorefrontAPI.*.nupkg -ApiKey $apiKey -source nuget.org nuget push SteamStorefrontAPI.*.nupkg -ApiKey $apiKey -source nuget.org
nuget push SteamStorefrontAPI.*.symbols.nupkg -ApiKey $apiKey -source https://nuget.smbsrc.net/ nuget push SteamStorefrontAPI.*.symbols.nupkg -ApiKey $apiKey -source https://nuget.smbsrc.net/

View File

@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers // You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below: // by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.1.0")] [assembly: AssemblyVersion("1.0.2.0")]
[assembly: AssemblyFileVersion("1.0.0.0")] [assembly: AssemblyFileVersion("1.0.0.0")]