Skip to main content

Scripts to get and push Firefox for Android to Google Play Store

Project description

MozApkPublisher

Scripts to publish Firefox for Android on Google Play Store.

Setup and run

  1. :warning: You need Python >= 3.6 to run this set of scripts. Python 2 isn't supported starting version 0.5.0. Python 3.5 was removed in version 3.0.0.
  2. uv venv
  3. uv pip install -e .
  4. If using push_aab.py, download bundletool from https://github.com/google/bundletool/releases and set environment variable BUNDLETOOL_PATH=path/to/bundletool.jar
  5. Execute either mozapkpublisher/push_apk.py, or mozapkpublisher/push_aab.py, or mozapkpublisher/update_apk_description.py
  6. Run --help to each of these script to know how to call them.

Running tests

  1. uv tool install tox --with tox-uv
  2. uv tool run tox -e py39

Preparing a release

  1. Bump the version in pyproject.toml
  2. Run uv lock
  3. Update the CHANGELOG.md file
  4. Get the changes reviewed and merged
  5. Create a new github release using the version as the tag/release name.

What to do when pushapk_scriptworker doesn't work?

A guide to manually publish APKs onto Google Play Store

  1. Generate a Google Play Store json certificate. This certificate needs to have write access to the app you want to publish. In this context, "app" means Fennec, Fennec Beta or Fennec Nightly.
  2. Execute the steps defined in the section above.
  3. Download the latest signed builds
uv run python ./mozapkpublisher/push_apk.py --no-gp-string-update --track beta --credentials /path/to/your/googleplay/creds.json x86.apk arm.apk
  • Note beta track on Google Play, that's our way to show to people on Play Store that it's not a finished product. We don't use the "production" track for Nightly, unlike beta and release.
  1. If all goes well, add --commit to the command line and rerun it.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mozapkpublisher-11.0.2.tar.gz (151.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mozapkpublisher-11.0.2-py3-none-any.whl (64.4 kB view details)

Uploaded Python 3

File details

Details for the file mozapkpublisher-11.0.2.tar.gz.

File metadata

  • Download URL: mozapkpublisher-11.0.2.tar.gz
  • Upload date:
  • Size: 151.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for mozapkpublisher-11.0.2.tar.gz
Algorithm Hash digest
SHA256 9de539b6d348ace432a4f20bb9db06daf4820ff812700fdda14ce6e6088edcd6
MD5 072341199bae58b822177abd5194776a
BLAKE2b-256 f7d101e47ead7dc9ddc8f0f827fd0f4f6b97502b27e3595780bec995321bae42

See more details on using hashes here.

Provenance

The following attestation bundles were made for mozapkpublisher-11.0.2.tar.gz:

Publisher: pypi-publish.yml on mozilla-releng/mozapkpublisher

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mozapkpublisher-11.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for mozapkpublisher-11.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5f0b69af145ea21baabf07b588735568586bbe3e71d91d531a66522a26594409
MD5 6da9118e9e22018be35bc9da43fa402f
BLAKE2b-256 53820b1e9c14de8dfeb3d68819496598d1bbfcfc32c075ab841eda2c61f1911d

See more details on using hashes here.

Provenance

The following attestation bundles were made for mozapkpublisher-11.0.2-py3-none-any.whl:

Publisher: pypi-publish.yml on mozilla-releng/mozapkpublisher

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page