Commit Graph
3 Commits
Author SHA1 Message Date
efiten c898d6f5e8 play-upload: promote a versionCode that is already on Play to another track
The first production release (2026-11-26) needed 12800, already on alpha, as a
draft on production. upload cannot do that: Play refuses a bundle whose
versionCode it already has. promote <versionCode> [--track production]
[--notes vX.Y.Z] finds the release holding that versionCode, copies its name
and notes into a draft on the target track, and leaves rolling out to the
Console, as upload does.
2026-11-26 18:15:52 +01:00
efiten eab6eb5fc1 android: turn on R8 and send its mapping file to Play
Play Console flagged the bundle: DEX optimisation low, obfuscation 1%, no deobfuscation
file, no native debug symbols. Release builds now run R8 with resource shrinking and put
the native symbol table in the bundle; play-upload.mjs --mapping uploads mapping.txt.
Release APK 6.45 MB -> 3.35 MB. Capacitor's consumer rules keep every plugin class: the
seven plugins, MainActivity and AlwaysVisibleWebView keep their names in mapping.txt.
2026-11-11 21:58:27 +01:00
efiten 158120ec06 scripts: upload a signed bundle to a Play test track as a draft
Uses a service account key outside the repo and node:crypto for the OAuth JWT, so no new
dependency. The draft keeps the track's live release (tracks.update replaces the whole
list) and replaces an older draft. Release notes are the summary line of
docs/releases/vX.Y.Z.md, checked against Play's 500-character limit. An edit that is not
committed is deleted so it cannot block the next run.

Verified against Play: 'tracks' lists alpha with 12403 (1.24.3) completed. Not yet
verified: an actual upload, which needs a new versionCode.
2026-11-11 19:55:55 +01:00