Skip to content

WookieFPV/bitrise-api-cli

Repository files navigation

Bitrise API CLI npm npm

🚀 An unofficial CLI tool for Bitrise API artifact downloads.

🎯 Features

  • Download artifacts from successful builds
  • Workflow-based retrieval
  • CI/CD integration

🚀 Quick Start

Download Artifacts

npx bitrise-api-cli@latest download --token <BITRISE_TOKEN> --workflow <WORKFLOW_NAME> [--slug <APP_SLUG>]

🔐 Configuration

Environment Variables (instead of CLI flags)

Variable Description Required
BITRISE_API_CLI_TOKEN Your Bitrise API token Yes
BITRISE_API_CLI_WORKFLOW Workflow name for artifact downloads Yes
BITRISE_APP_SLUG App Slug (auto-set in Bitrise CI) Locally only

💡 Examples

Command Line

npx bitrise-api-cli@latest download --token abc123 --workflow android-release --slug a1b2c3d4e5f6

CI/CD Integration

Integrate this CLI tool using the "Script" Step to download artifacts from previous builds, eliminating the need to rebuild from source.

steps:
  - script:
      inputs:
        content: |
          npx bitrise-api-cli download \
            --workflow android-release \
            --token $BITRISE_API_TOKEN

📝 License

This project is MIT licensed.


Found this project useful? Give it a ⭐️!

About

Unofficial CLI to download artifacts from bitrise

Resources

License

Stars

Watchers

Forks

Packages

No packages published