Amazon refused the first submission: an update needs en-US recent changes,
and a newly uploaded APK needs a DRM choice that only the Developer Console
can set. The upload now sends the version's store changelog as recent
changes and reuses an open draft instead of deleting it, so a choice made
in the console survives into the submitted edit. An edit Amazon is still
reviewing is left alone.
The upload used to stop at a draft edit that the next release deleted, so
Amazon never received a version after June. The script now validates the
edit, printing any listing problems, and commits it.
Amazon's App Submission API cannot upload bundles, and the console-uploaded
bundle filled the edit's only binary slot, so every release since 2.1.50
skipped Amazon. The upload now replaces that slot with the APK, or deletes
it and uploads the APK when Amazon refuses the replacement. A manual
workflow retries the upload for an already published version.