rux publish
Purpose
Upload the package archive to a Rux package registry
Synopsis
rux publish [options]
Behavior
Applies the same validation and packing rules as rux pack, then uploads an immutable version. --dry-run stops after validation and archive creation. Authentication tokens are never accepted as command-line options.
Arguments
This command accepts no operands.
Options
| Option | Description |
|---|---|
--registry <url> | Registry API base URL to publish to |
--dry-run | Validate and build the archive without uploading |
Global options may appear before or after the command. See Global options.
Output and exit status
Primary results are written to stdout. Progress, warnings, and errors are written to stderr.
Success exits 0, invalid command-line usage exits 2, and compiler, validation, filesystem, network, or generation failures exit 1 unless stated otherwise above.
Examples
rux publish
rux publish --dry-run
rux publish --registry http://localhost:8080
Environment variables
RUX_REGISTRY_URL sets the registry when --registry is absent.
RUX_TOKEN takes precedence over a token stored by rux login.
The global color environment behavior is described under Global options.