Repository navigation
ci(play): release to Play from v* GitHub Releases, with open testing - #3
Merged
Merged
Conversation
The play job now puts the bundle it just shipped to internal testing on the open testing (beta) track too, the Android counterpart of iOS's External TestFlight group. It's off until the PLAY_OPEN_TESTING repo variable is `true`, because Play only accepts open testing releases once the store listing, content rating, data safety form and privacy policy are done. scripts/play-promote.sh edits the track through the Play Developer API (service-account JWT -> access token -> edit, track update, commit) with curl, jq and openssl. It doesn't re-upload: Play rejects a versionCode it has seen, and the internal upload already put the bundle in the library. Errors print the URL and Google's response, never the assertion or token. Verified: shellcheck and actionlint (only the existing Blacksmith runner label warning); against a local mock, the JWT verifies with the key's public half and the script sends the expected edit, track and commit calls; against Google with a throwaway key, the token endpoint answers "Invalid JWT Signature", so the request shape is accepted.
The previous commit added scripts/play-promote.sh but couldn't touch the workflow (the bot's GitHub App has no `workflows` permission). This adds the two steps from the PR description to the end of the `play` job: a sparse checkout of the script, then the promote to the `beta` track, which only runs when the PLAY_OPEN_TESTING repo variable is `true` and otherwise logs a notice. It runs in its own edit after the internal upload, so a failed or held open testing release never blocks internal testing. The header comment now mentions it. Verified: actionlint (only the existing Blacksmith runner label warning) and shellcheck on scripts/play-promote.sh. Not yet run against Play; the first push to main with the variable on is the end-to-end check.
iOS now releases only through GitHub Releases (a v* tag starts Xcode Cloud; pushing main no longer ships). Android mirrors that: - The workflow also runs on v* tags. Building the signed release bundle and the play job (internal testing, then open testing behind PLAY_OPEN_TESTING) now run only for tags. Removed: every push to main (and manual runs) shipping to Play internal testing. - A push to main still runs the check and refreshes the main-latest sideload debug APK (not a store release). - scripts/version.sh ports iOS's history-derived versioning (same rules) from this repo's baseline acc23ea = 0.1.0; releases are cut with gh release create "v$(scripts/version.sh <sha>)" --target <full sha>. - A tag build's versionName is the tag without the v (OC_VERSION_NAME); other builds keep 0.1.0-<short sha>. Play release names use it too. - docs/releasing.md, AGENTS.md and README describe the new flow. Verified: actionlint (only the existing Blacksmith runner label warning), shellcheck scripts/version.sh, scripts/version.sh prints 0.1.0 for origin/main and 0.1.2 for this branch; processDebugManifest gives versionName 0.1.2 / versionCode 99 with OC_VERSION_NAME=0.1.2 and OC_VERSION_CODE=99, and 0.1.0-abc1234 with only OC_VERSION_SUFFIX. Not yet run end to end: the first v* release is that check.
Tarquinen
added a commit
that referenced
this pull request
Nov 9, 2026
…83 sync Brings in the release workflow (Play uploads only on v* tags), the Play photo policy change, the QA fixes and the navigation-bar spacing for the + menu. Resolutions: - Photos follow main: no READ_MEDIA permissions, the live PhotoLibraryClient reports Unavailable and + → Photos opens the system picker. The photo sheet code stays, unreachable. PhotoRequestGate stays replaced by OneShotRequestGate. - The + menu's navigation-bar inset moved onto AttachmentMenuMeasure (the overlay it was on is gone) and into PlusMenuPlacement.foot. - LocalDrawerVisible (main) folded into LocalDrawerHidden (ours); the activity ring keeps main's TalkBack check on the ambient clock. - Catch Up finish keeps main's modal drawer handling on our motion roles (swap enter/exit). - Transcript row exits (main) keep RowEntrance.EXIT_DURATION alongside the role-driven entrances; LiveTranscript records the cursor as main does and keeps the parse cache. - Title rolls, the draft list exit and the composer swipe/edit paths keep both sides. - ServerLinkTests.expectTimeout keeps stepping the clock until the stream ends (up to 100 s): the watchdog wakes on another thread and can sleep from a clock read taken before a jump. Parity docs merged row by row; test totals recounted. Verified: full scripts/check.sh passes; ios-sync.py check 0 errors.
Tarquinen
added a commit
that referenced
this pull request
Nov 9, 2026
…UI work Brings Ryan's #3, #4, #6 and #7 into the Material 3 branch through PR #5. Conflicts kept both sides: main's TalkBack, touch and focus fixes with this branch's Material styling (Jump to Latest as a small FAB on main's touch tracking, the Export submenu in main's non-focusable menu, the level word ellipsizing inside the outlined model chip, the Catch Up swipe glyph on its tone colour, the transcript's row exits with the soft bottom edge). Verified: scripts/check.sh passes for every module; ios-sync check 0 errors; parity test totals match Gradle.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Mirrors the iOS release flow: releases go through GitHub Releases only.
v*tag (gh release create "v$(scripts/version.sh <sha>)" --target "$(git rev-parse <sha>)" --generate-notes) builds the signed bundle, ships it to Google Play internal testing, then promotes it to open testing (beta, the counterpart of iOS's External TestFlight group) withscripts/play-promote.sh.PLAY_OPEN_TESTINGistrue.mainno longer ships to Play; it still runs the check and refreshes themain-latestsideload APK.scripts/version.shports iOS's history-derived versioning (same rules, baselineacc23eab= 0.1.0). Release builds use the tag asversionName.docs/releasing.md,AGENTS.mdand the README describe it.Play Console setup (store listing, content rating, data safety, sign-in details, countries, declarations) is done except the photo/video permission policy, handled in a separate PR that removes the broad photo permissions.
Verified: actionlint, shellcheck,
version.shoutput, merged-manifest version stamping. The firstv*release is the end-to-end check.