-
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)
-
open VisualStudio, open solution
-
choose
Releaseon the top bar schema selection selectCoreXXXwhere XXX is iOS or Android -
build the solution / individual project
-
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>There is a release_sdk.js script in the scripts directory.
Bump script automatically updates patch part of the version of the project’s nuspec.
Example: If the version is 1.1.23.
./release_sdk.js bump AeroGear.Mobile.Auth minor --writeThe version will be changed to 1.2.0
./release_sdk.js bump AeroGear.Mobile.Auth major --writeThe version will be changed to 2.0.0
Omit --write parameter to try it without writing any changes.
You need to build the released project (or all projects) in Release build type before doing that.
There is example for releasing Core project. Same goes for others.
-
check if you added something that you need to use in the library and add dependency to it