rwx packages build

Build and upload a package. The command archives the given directory, uploads it to RWX, and prints its content digest.

Usage

rwx packages build [flags] [directory]

Arguments

[directory]

The package directory. Defaults to the current directory.

Options

--publish

Publish the package after uploading it. The package manifest controls its visibility.

--timestamp <timestamp>

Normalize file modification times in the archive for reproducible builds. Use the YYYYMMDDHHmm format.

Global options

--format <format>

Output format: text or json. Defaults to text.

--json

Output JSON data to stdout. Equivalent to --format json.

--access-token <token>

The access token for RWX. Defaults to the value of the $RWX_ACCESS_TOKEN environment variable.