Skip to content

Publication

Prerequis

  • android/key.properties renseigne (ne pas commiter).
  • android/play-service-account.json present (ne pas commiter).

Publier sur le track internal

pnpm android:publish

Par defaut, la release est en draft tant que l'app Play Console est elle-meme en draft. Quand l'app est approuvee, tu peux publier en completed:

PLAY_RELEASE_STATUS=completed pnpm android:publish

Versioning

  • versionName vient de package.json.
  • versionCode est auto-genere (epoch). Tu peux forcer:
VERSION_CODE=123456 pnpm android:publish

Automatisation GitHub Actions (test interne)

  • Le workflow .github/workflows/publish-android.yml publie automatiquement sur Google Play track internal quand tu pousses un tag vX.Y.Z.
  • Secret requis dans GitHub Actions: PLAY_SERVICE_ACCOUNT_JSON.
  • Exemple:
git tag v1.2.3
git push origin v1.2.3

Internal App Sharing (full auto sans liste testeurs)

pnpm android:publish:ias
  • Génère un nouveau bundle, l'upload via Internal App Sharing et retourne un lien direct d'installation.
  • Le dernier résultat est écrit dans logs/android-internal-app-sharing-latest.json.