Document the APK filename/versionCode naming contract #14

Merged
bit merged 1 commits from apk-versioncode-naming-contract into main 2026-09-13 08:01:21 +00:00
1 Commits
Author SHA1 Message Date
claudeandbit af32b7ca12 Document and hint at the APK-filename/versionCode naming contract
publish.sh's overwrite guard (fdroid-repo-ci#6) is correct but implies a
contract nothing states: a colliding filename with no versionCode in it
means only the first publish into a prefix can ever succeed. Flutter's
constant app-<flavor>-release.apk hit this in weblib-viewer (#29), and the
failure only surfaces on the second publish with an error that reads like a
bucket-state problem.

Add the naming contract to the README, and append a hint to the refusal
message when the colliding object's basename has no digits at all -- a
pure text addition, never changing which publishes are refused.

Closes fdroid-repo-ci#13.

Co-authored-by: bit <bit@das-labor.org>
2026-09-10 02:00:30 +00:00