-
Notifications
You must be signed in to change notification settings - Fork 25
Publish
Egor Pugin edited this page May 4, 2020
·
6 revisions
- Prepare your project.
- Prepare build script.
- Set up source code repository.
- Upload project on some hosting.
- Create an account and your user token on Software Network.
- Create your first publisher.
- Add user token to SW settings. Run:
sw remote alter origin add token PUBLISHERNAME SECRETTOKEN
- 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:
- org.sw.demo
- org.boost
- com.someorgname
- pub.egorpugin.my.fancy.subdir
- pvt.egorpugin.my.secret.project