Skip to content

Latest commit

 

History

History
52 lines (43 loc) · 2.37 KB

RELEASING.md

File metadata and controls

52 lines (43 loc) · 2.37 KB

Releasing

The Play listing lives in fastlane/metadata/android/en-US (title, short and full description, changelogs/<versionCode>.txt, images). Publishing runs locally; only the maintainer can upload. Release builds are signed with the upload key described in keystore.properties at the repo root (gitignored), otherwise with the debug key, which Play rejects:

storeFile=../omalauncher-upload.jks
storePassword=...
keyAlias=upload
keyPassword=...

storeFile is relative to the repo root; keep the keystore outside it. fastlane needs the Play service-account key at fastlane/play-store-key.json (gitignored).

./scripts/fetch-proot.sh                  # jniLibs aren't in git; a release build fails without them
bundle exec fastlane android metadata     # listing text and images only
bundle exec fastlane android internal     # build + upload to internal testing
bundle exec fastlane android promote      # internal -> production
bundle exec fastlane android deploy       # build + upload straight to production
git tag v<versionName> && git push origin v<versionName>

The tag starts .github/workflows/release.yml: it runs the tests, builds the signed APK and attaches it to a GitHub release with SHA256SUMS and the R8 mapping.txt, using changelogs/<versionCode>.txt as the notes (it fails without one). The mapping matches the Play build's, so it retraces Play crashes.

Bump versionCode for every upload and add its changelog. Add the release's most important changes to CHANGELOG.md as they land under "Unreleased", and retitle that section with the version when releasing.

Store assets

  • art/: the SVG masters. scripts/make-icons.sh renders the app and agent icons from them, including the Play Store icon; the feature graphic is exported by hand to fastlane/metadata/android/en-US/images/featureGraphic.png.
  • store/screenshots/: frame.html adds the captions and frames to the raw captures in raw/; scripts/render-screenshots.sh renders the Play screenshots from it (needs Google Chrome).
  • store/omalauncher.txt: the source of the privacy policy that the listing links to. Upload the new version before releasing a build that changes what the app accesses.
  • store/foreground-service-demo.mp4: the recording for Play's foreground-service declaration.

Widget store previews are made with scripts/store-previews.sh; see its header.