Reference

CI & automation

Release and patch from GitHub Actions or any CI.

Add one secret

Create an API key in the console (API keys → Developer access) and save it as a secret named OTADART_API_KEY in your CI. It never expires until you revoke it.

OTADART_API_KEY=otd_…

Or run otadart login --ci for a 90-day OTADART_SESSION token.

Install in CI

curl -fsSL https://otadart.dev/install.sh | bash
echo "$HOME/.otadart/bin" >> "$GITHUB_PATH"

Run after Flutter is set up. On other CI systems add $HOME/.otadart/bin to PATH.

Workflow steps

otadart release all
# later, for a fix:
otadart patch all --track beta

Add --json to get machine-readable output.

Related: CLI reference · API reference · Get help · Troubleshooting