How can I just upload to App Center without running tests?

I saw there is a step to upload and run tests but what I actually need is to just upload because it’s going to be used for distribution only at this point. Is there a simple way to do that?

I’ve done it by script for now, copying the behavior of the step “Upload & test”. It’s simple enough. Is there a better way to do it?

#!/usr/bin/env bash
# fail if any commands fails
set -e
# debug log
set -x

npm install -g appcenter-cli
appcenter distribute release --token "$APPCENTER_TOKEN" --app "$APPCENTER_APP" --group "$APPCENTER_GROUP" --file "$BITRISE_APK_PATH"
1 Like

Hi @cecton,
Thank you for creating this thread! Currently we don’t have a step to do this, but it really sounds like something that could be useful. Would you mind creating a feature request here: http://discuss.bitrise.io/c/feature-request So we can escalate it?
For your implementation, I would say that I can’t really think of a better solution for this than your implementation :slightly_smiling_face:

Also just to mention this here if you’d like you can also create your own step and request to publish it in our Steplib. You can find a guid for this here: https://devcenter.bitrise.io/bitrise-cli/create-your-own-step/ :wink:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.