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_xxxWhat the Client Needs to Know
- use
bundle-drop loginfor local development - use
--tokenfor automated environments - keep the token in your CI secret store, not in source control