Sign inSign up

splashtopandroid/android-publisher

By splashtopandroid

•Updated 2 months ago

Use Google Play Publishing API upload and publish apps, and perform other publishing-related tasks.

Image
Developer tools
0

541

splashtopandroid/android-publisher repository overview

⁠Android PlayStore publish cmdline tool.

Google Play Store Publisher & APK Downloader Script Uploads an Android App Bundle (AAB) to Google Play Console, assigns it to a track, and polls Google Play until the compiled APKs are ready to be downloaded.

⁠Usage

The Docker image is configured as an executable. Pass arguments directly after the image name, just like running python main.py.

$ docker pull splashtopandroid/android-publisher
$ docker run  splashtopandroid/android-publisher -h
⁠Upload AAB and Download Signed APK
docker run --rm \
  -e GOOGLE_APPLICATION_CREDENTIALS=/app/service-account.json \
  -v "/path/to/service-account.json:/app/service-account.json:ro" \
  -v "$(pwd)/output:/app/output" \
  play-publisher:latest \
    --aab /app/build/app-release.aab \
    --package-name com.example.yourapp \
    --output /app/output/signed-app.apk
⁠Upload AAB to Beta Track Only
docker run --rm \
  -e GOOGLE_APPLICATION_CREDENTIALS=/app/service-account.json \
  -v "/path/to/service-account.json:/app/service-account.json:ro" \
  -v "$(pwd)/output:/app/output" \
  play-publisher:latest \
    --aab /app/build/app-release.aab \
    --package-name com.example.yourapp \
    --track beta
⁠Download Latest Published APK Only
docker run --rm \
  -e GOOGLE_APPLICATION_CREDENTIALS=/app/service-account.json \
  -v "/path/to/service-account.json:/app/service-account.json:ro" \
  -v "$(pwd)/output:/app/output" \
  play-publisher:latest \
    --package-name com.example.yourapp \
    --output /app/output/latest.apk
⁠Appendix

Tag summary

Content type

Image

Digest

sha256:0e42a4b47…

Size

62.7 MB

Last updated

2 months ago

docker pull splashtopandroid/android-publisher