Octri

sdk build

Builds SDKs from your current spec and settings. In a terminal it draws a lane per language that moves through generating, verifying, packaging, installing and ready. Piped or in CI it prints plain lines instead.

It exits with an error if any language fails, so it works as a build step, and it tells you how to retry only the ones that failed. See builds.

A Studio release publishes itself

A build that names a Studio release with --revision publishes to the package registries once it's built, unless you've turned off auto-publish for the project. A build without it never publishes on its own.

bash
octri sdk build [--lang <languages>] [--download] [--detach]

Flags

--lang <languages>listdefault: the profile's defaultLanguages

Comma-separated language IDs, such as go,typescript. octri sdk languages lists them. -l is short for it.

--downloadboolean

Downloads and unpacks the SDKs once the build finishes, as sdk download does. --out sets the folder.

--detachboolean

Returns as soon as the build is queued, with its ID. --no-watch does the same.

--version <version>string

The version the packages are built with.

--revision <number>number

The Studio release this build is for. The build is refused if the release changed since, and it publishes once built.

--interval <ms>numberdefault: 2000

How often to check on the build.

Examples

Build two languages and download them

bash
octri sdk build --lang typescript,python --download --out sdks

Queue a build and return

bash
octri sdk build --lang python --detach