There is example for releasing Core project. Same goes for others.
-
register to NuGet central repo and generate your api key. Be sure copy them somewhere, since they won’t be visualized anymore
-
NuGets for the SDK starts with
AeroGear.Mobile
, if you want to release, you should be added to the list of owners (ask existing owner to add you)
Create a branch with your new release version.
-
open VisualStudio, open solution
-
choose
Release
on the top bar schema selection selectCoreXXX
where XXX is iOS or Android -
build the solution / individual project
-
check if you added something that you need to use in the library and add dependency to it
-
Make sure nuget.exe is installed and on the PATH. Download From here
-
Add your keys by running (only the first time):
nuget setApiKey <api key>
After updating the nuspec with the right version you can pack the release and upload:
nuget pack Core.nuspec -Symbols
nuget push AeroGear.Mobile.Core.<version>.nupkg -Source https://api.nuget.org/v3/index.json