Platform Team/Guide/Sweets Packaging: Difference between revisions
| Line 95: | Line 95: | ||
* create local initial service.info by invoking ''0sugar init'', tweak newly created ''service/service.info'' file | * create local initial service.info by invoking ''0sugar init'', tweak newly created ''service/service.info'' file | ||
* increase/change version | * increase/change version field in ''service.info'' file | ||
* ''0sugar dist'' to change local feed in ''dist/'' and place there tarball | * ''0sugar dist'' to change local feed in ''dist/'' and place there tarball | ||
* ''0sugar push'' to rsync changed files from ''dist/'' to the server | * ''0sugar push stable'' to rsync changed files from ''dist/'' to the server<br>see [[#Release workflows]] for other release scenarios | ||
=== Binary services === | === Binary services === | ||
| Line 106: | Line 106: | ||
* provide relevant value for ''build-command'' field in ''service.info'' file | * provide relevant value for ''build-command'' field in ''service.info'' file | ||
* if you want to support binaries for different dependencies environments, add additional sections to ''service.info'' file with ''requires'' fields that describe dependencies versions of particular environment | * if you want to support binaries for different dependencies environments, add additional sections to ''service.info'' file with ''requires'' fields that describe dependencies versions of particular environment | ||
* increase/change version | * increase/change version field in ''service.info'' file | ||
* ''0sugar dist'' to add sources tarball to ''dist/'' and change local feed correspondingly | * ''0sugar dist'' to add sources tarball to ''dist/'' and change local feed correspondingly | ||
* on every platform, you are trying to support binaries for, run ''0sugar dist_bin'' to build, and add to local field, binaries for this particular platform | * on every platform, you are trying to support binaries for, run ''0sugar dist_bin'' to build, and add to local field, binaries for this particular platform | ||
* if you added additional sections to ''service.info'', run ''0sugar dist_bin <section-name>'' in every environment, ''services.info'' has additional sections for | * if you added additional sections to ''service.info'', run ''0sugar dist_bin <section-name>'' in every environment, ''services.info'' has additional sections for | ||
* ''0sugar push'' to rsync changed files from ''dist/'' to the server | * ''0sugar push stable'' to rsync changed files from ''dist/'' to the server<br>see [[#Release workflows]] for other release scenarios | ||
== Versioning scheme == | == Versioning scheme == | ||