Aller au contenu

ostra update

Ce contenu n’est pas encore disponible dans votre langue.

Update ostra to the latest release

Update replaces the running ostra with the latest release of ostrakon-app/ostra (<base>/latest/download/VERSION), after checking the archive against SHA256SUMS.

The base URL is OSTRA_BASE_URL or https://github.com/ostrakon-app/ostra/releases. No API key or token is ever sent there.

With --check, nothing is installed. Exit codes: 0 up to date, 10 update available, 1 (or 7 on timeout) error.

ostra update [flags]
--check Only report whether an update exists (exit 10 when one does)
--force Update a dev build, and reinstall the latest release even when not newer
-h, --help help for update
--version string Install this version (must be the latest release; use install.sh with OSTRA_VERSION for another)
--api-key string API key for authentication
--api-key-file string File holding the API key (keeps it off argv)
--connect-timeout duration Connect timeout (0 disables) (default 5s)
--endpoint string API endpoint URL
-o, --output string Output format: json, table, csv
-q, --quiet Minimal output
--timeout duration Request timeout (0 disables) (default 10s)
  • ostra - Ostrakon CLI: manage triggers, events, and stats