Documentation

Ship OTA updates to your React Native app. Guides for installation, concepts, CLI, and SDK integration.

CI/CD

CI/CD Overview

For CI/CD, the main difference is authentication.

Instead of relying on a local interactive CLI session, you usually pass a Personal Access Token with --token.

Why --token Exists

CI environments do not go through bundle-drop login, so token-based auth is the normal approach for automated uploads.

Typical CI Upload

ci-upload.sh
1npx bundle-drop upload android \ 2 --version 1.2.3 \ 3 --channel General \ 4 --token $BUNDLE_DROP_PAT \ 5 --author "CI Pipeline"

Using --token with Other Commands

You can also use a token when bootstrapping setup without an interactive login:

Terminal
1npx bundle-drop init --token bdp_pat_xxx

What the Client Needs to Know

  • use bundle-drop login for local development
  • use --token for automated environments
  • keep the token in your CI secret store, not in source control

Related Docs

  • For general CLI setup, see CLI.
  • For upload command details, see Uploading.