Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can share your extension by uploading it to the CAST Extend website using a command line utility called NuGet.exe - you can download this utility free of charge from https://dist.nuget.org/index.html. CAST recommends using a batch script to run the upload - this script should be run from outside the folder containing your extension. An example is shown below - please adapt this to your environment:

Code Block
languagetext
themeDJango
nuget.exe push com.castsoftware.uc.nameoftheextension.nupkg <apikey> -Source https://extendng.castsoftware.com/api/package

...

OptionDescription
nuget.exeFull path to the nuget.exe utility
pushUpload the extension

com.castsoftware.uc.nameoftheextension.nupkg

Full path to the extension in .nupkg format
<apikey>
Your unique API Key. This key uniquely identifies you as a registered user on the CAST Extend website. You can find your API
Key in your account profile. See CAST Extend website
key in you user profile in the CAST Extend website:

Image Added

-SourceThe URL of the CAST Extend website: https://extendng.castsoftware.com/api/package

...

Running the batch should result in a successful upload as follows:

Code Block
languagetext
themeDJango
Pushing com.castsoftware.uc.angularjs.1.1.0.nupkg to 'https://extendextendng.castsoftware.com/V2/api/v2'...
  PUT https://extendextendng.castsoftware.com/V2/api/v2
  OK https://extendextendng.castsoftware.com/V2/api/v2 4371ms
Your package was pushed.

...