Repository navigation
Open
Description
Part of #255 (release pipeline), phase 1 of 7.
Depends on: Notes inputs in mieweb/actions (TestFlight changelog, Play release notes)
Estimated size: ~800–1,100 lines
Done when: Merging a version bump to main produces TestFlight and Play internal builds with tester notes, an app-vX tag that says which platforms shipped, a GitHub Release with the APK, TestFlight link and notes, an updated compatibility page and About page What's New, with no manual step.
- Make the iOS and Android build workflows reusable (
workflow_call). Manual dispatch still works for rebuilds. - Build numbers from the stores, not from run numbers. A called workflow sees the caller's run number, so moving the builds under
release.ymlwould restart iOS build numbers and Android versionCodes near 1. Android would land below the 20236 already on Play and be rejected. Use the stores as the source: fastlanelatest_testflight_build_number+ 1 for iOS, and the highest versionCode across Play tracks (google_play_track_version_codes) + 1 for Android. This also drops the hand-maintained versionCode base fromapp.json. -
release.yml: on a push tomainwhoseapp.jsonversion has noapp-v*tag, build both platforms, tagapp-v<version>only after both succeed, create a GitHub Release with generated notes, and rebuild Pages. Today each build workflow (build-ios-from-expo.yml,build-android-from-expo.yml) tags on its own and dispatchesdeploy-pages.yml. - Confirm the compatibility page output is identical before and after.
- Release notes, part 1 (see the Release notes section in Release pipeline: one-merge releases, tests against every supported app version, and store status checks #255): PR template with
Release note:andTest:lines;release-notes/<version>.md;scripts/draft-release-notes.mjs; CI check for sections and limits. -
release.ymlsends## What to testto TestFlight "What to Test" and Play internal release notes. The shared actions accept no notes today: add achangeloginput tomieweb/actions/sign-archive-upload-ios(TestFlight) and arelease_notesinput topublish-android-to-play, or call fastlane directly. - Seed
release-notes/2.2.2.mdwith the notes written for the first manual public release (2.0.0 → 2.2.2). - Release notes, PR comments: the running draft on every PR, and paste-ready App Store / Google Play / TestFlight blocks on the release PR.
- About page "What's New": done in Show build release notes and five previous releases on the version screen #330 another way.
scripts/release-notes.tsbuilds the notes when Expo reads its config (app.config.ts) from theapp-vX.Y.Ztags and PR/commit titles reachable from the build commit, and the About page shows the installed build's notes plus the five previous releases, offline. Both build workflows fetch the full history and tags before prebuild. It does not readrelease-notes/<version>.md. - Permission allowlist: CI builds the merged Android release manifest (
./gradlew :app:processReleaseMainManifest, as done for fix(android): drop READ_MEDIA_* for the system photo picker (Play photo/video policy); release 2.2.3 (Android only) #257) and compares itsuses-permissionlist withandroid-permissions.jsonin the repo; a new permission fails the PR until it's added there with a reason. iOS: the same for the Info.plist usage-description keys. Play'sREAD_MEDIA_*block (fix(android): drop READ_MEDIA_* for the system photo picker (Play photo/video policy); release 2.2.3 (Android only) #257) would have failed on the PR instead of at review. - Platform-only releases are visible: the GitHub Release for
app-vXlists which platforms shipped (2.2.3 was Android only), and the compatibility page shows per-platform availability instead of assuming both platforms shipped every tag. - Each GitHub Release lists what testers need to identify the build: TestFlight build number, Play versionCode, pinned PulseVault version and protocol range, and the PRs since the previous
app-v*tag. - Android download on each Release: a universal APK generated from the signed AAB with
bundletool, attached as a file. Play re-signs its own installs with Google's key, so switching between the GitHub APK and the Play build is expected to need an uninstall (Play signing setup not checked yet). - iOS on each Release: the TestFlight build number and the TestFlight public link. An App Store-signed
.ipaonly installs through TestFlight or the App Store, so it isn't attached. Needs a one-time setup in App Store Connect: an external testing group with a public link. - Optional: attach the iOS dSYMs for crash symbolication.
- Backfill GitHub Releases for the existing
app-v*tags (app-v2.1.0throughapp-v2.9.2today). Pulse has app tags but no app Releases; the only GitHub Releases are PulseKit's (pulsekit-v*, fromrelease-embed.yml).
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
- StatusShow more project fieldsReady
Activity