Triple-T / gradle-play-publisher

GPP is Android's unofficial release automation Gradle Plugin. It can do anything from building, uploading, and then promoting your App Bundle or APK to publishing app listings and other metadata.
MIT License
4.13k stars 341 forks source link

How to test / dry-run a publishApk task?| #831

Closed erikhuizinga closed 4 years ago

erikhuizinga commented 4 years ago

I'm trying to test run / dry run a publishApk task.

What I want is that GPP runs all steps, except the actual upload to Google Play. Ideally, this dry run would succeed if all is well (everything required builds and is well-configured), but fails on any (build/config) issue. This is useful, for example to run a dry-run task on CI, to verify that the actual publishing task would succeed.

I found the --no-commit option for the publishApk tasks. However, I'm not sure if this is the exact option that I'm looking for.

How can I test/dry run a publishApk task?

SUPERCILEX commented 4 years ago

Yup, no commit is the one. It'll upload everything, but it won't actually show up in the play console or do anything.