Skip to content

Publish

Egor Pugin edited this page Jun 10, 2019 · 3 revisions

Publish Instructions

  1. Prepare your project.
  2. Prepare build script.
  3. Set up source code repository.
  4. Upload project on some hosting.
  5. Create an account and your user token on Software Network.
  6. Create your first publisher.
  7. Add user token to SW settings. Run: sw remote alter origin add token PUBLISHERNAME SECRETTOKEN
  8. Run locally near build script to upload the project: sw upload PREFIX

SW will download your sources from the public hosting using Source provided in build script.


PREFIX is your namespace (com/org/pub/pvt) + your publisher name + custom subdirectory inside it.

namespace.publisher[.subdirectory]

Examples:

  1. org.sw.demo
  2. org.boost
  3. com.someorgname
  4. pub.egorpugin.my.fancy.subdir
  5. pvt.egorpugin.my.secret.project
You can’t perform that action at this time.