Bitrise

  1. Add a “Script” step to your workflow after the Mobile Build step

  2. Edit the Script Content and paste the following code into it, which will upload the APK build file to MobileBoost and make the MobileBoost ID available for following steps as an ENV Variable called MOBILEBOOST_ID

    call=$(curl -i -X POST \
            -H "Content-Type: multipart/form-data" \
            -F "build=@$BITRISE_BUILD_PATH" \
            -F "organisation_key=<ORG_KEY>" \
            -F "platform=<platform>" \
            -F "metadata={}" \
            https://api.mobileboost.io/uploadBuild/)
            
    buildId=$(echo "$call" | awk '/^{/ {print}' | jq -r '.buildId')
    
    envman add --key MOBILEBOOST_ID --value $buildId

In the above script replace

  1. the <ORG_KEY> with your GPT Driver OrgID

  2. the <platform> with ”ios” or “android” depending on the build

  3. the $BITRISE_BUILD_PATH with the variable containing the path to your build file

Last updated