Skip to main content
Version: 4.2.0

publish

Publish an applet version

Description

Publishes an applet version, making it the released version customers receive. The version must have finished building successfully and must not already be published or deprecated.

Usage

sos applet version publish [options]

Options

OptionDescription
--no-default-organizationPrevent using the defaultOrganizationUid from ~/.sosrc (boolean)
--organization-uidOrganization UID (string)
--applet-uidApplet UID (string)
--applet-versionApplet version, e.g. 1.0.0 (string)
--yesPerform the action without the confirmation step (boolean)

Examples

# Publish a specific version (no local applet directory required)
sos applet version publish --applet-uid my-applet-uid --applet-version 1.0.0

# Publish without confirmation (scripting)
sos applet version publish --applet-uid my-applet-uid --applet-version 1.0.0 --yes

Since

2.9.0

Global Options

All commands support the following global options:

OptionAliasDescription
--help-hDisplay help information for any command
--version-vDisplay the installed version of the CLI
--api-url-uOverride the API URL for REST requests
--profileUse a specific profile from ~/.sosrc config

Examples

# Show version
sos --version

# Get help for any command
sos applet --help
sos applet upload --help

# Use custom API endpoint
sos --api-url https://api.example.com applet upload

# Use specific profile
sos --profile production organization list