Release and publish
Version locations
| Project | Version source | Changelog |
|---|---|---|
| Android phone | mobile/android/app/build.gradle.kts | mobile/android/CHANGELOG.md |
| Android TV player | tv/android/player/app/build.gradle.kts | tv/android/CHANGELOG.md |
| Android TV GeckoView plugin / TV Browser | tv/android/geckoview-plugin/app/build.gradle.kts | tv/android/CHANGELOG.md (GeckoView Plugin entries) |
| Desktop | desktop/pubspec.yaml and desktop/lib/update/app_version.dart | desktop/CHANGELOG.md |
| iOS phone | mobile/apple/PlayBridge Phone/PlayBridge Phone.xcodeproj/project.pbxproj | mobile/apple/CHANGELOG.md |
| Apple TV | tv/apple/PlayBridge TV/PlayBridge TV.xcodeproj/project.pbxproj | tv/apple/CHANGELOG.md |
| Extension | extension/manifests/chrome.json and extension/manifests/firefox.json | extension/CHANGELOG.md |
| CLI | cli/Cargo.toml and its root Cargo.lock entry | cli/CHANGELOG.md |
| Stream proxy (Rust) | stream-proxy-rust/Cargo.toml and its root Cargo.lock entry | stream-proxy-rust/CHANGELOG.md |
The embedded GeckoView manifest has its own version; do not synchronize it to the
store extension version automatically. Shared libraries, protocol and native ABI
versions also remain independent compatibility versions, not product train versions.
For Desktop, keep version: <semver>+<build> and kAppVersion = '<semver>' in lockstep. CI checks this in desktop/test/update_test.dart.
Monorepo release policy (PR checks → draft release-build on uprev → publish): see docs/release.md. CLI is the reference: uprev arms cli_build.yml (draft cli-v*); cli_publish.yml sets draft=false. Inspect the affected workflow before shipping. The Rust proxy ships as an image: stream_proxy_build.yml publishes only :edge from main, and publishes :X.Y.Z and :latest when a stream-proxy-vX.Y.Z tag that matches Cargo.toml is pushed.
Workflow
- Inspect
git statusand the diff against the intended base. Identify affected projects without absorbing unrelated worktree changes.
- Changes under
shared/require checking both Android consumers. For every product, inspect direct changes and changes in shared code it builds from (for exampleshared/,protocol/,cast/, and the proxy) since its last published release. - A product with no direct or consumed shared-code changes skips the train and keeps its current version. When it next changes, it jumps straight to the then-current train minor at
x.y.0. - For a patch release, uprev only the products intended to ship fixes; for a minor train, uprev every changed product in the version table and report unchanged products that skip it.
- Group commits by the folders each product ships from.
extension/src/geckoview/is the detector built into the Android phone and TV browsers, so its changes belong in those changelogs, not the browser extension's. Commits that only touch tests or comments need no entry. - Keep Apple versions numeric and in the existing unstable
0.xscheme, aligned with the train. Update all configurations/targets that carry the marketing/build versions, including extensions when they share them.
- Choose the bump requested by the user. Use minor for features, patch for fixes: a minor bump advances changed products to the same
x.y.0train, while unchanged products skip it; patches advance independently per product within its current train. A changed product that skipped the current train joins atx.y.0before shipping further patches. Features wait for the next train or start one. Internal refactors without a shipping fix do not require a bump. Increment each affected product's numeric build/version code once; Android codes are independent per application ID, not a monorepo-wide counter.
- Sender/receiver compatibility is governed by the protocol version, not matching application versions. Protocol-breaking changes ship only in a new train, never in a patch; check supported protocol versions rather than requiring matching app versions.
- Update every affected project's version source and add a concise Keep a Changelog entry dated the day the release PR will merge (re-date every entry if the merge moves), based on changes since its last published release. Fold unpublished version entries into the new release. Keep Desktop's pubspec and kAppVersion synchronized and update the CLI/proxy lockfile entries without unrelated dependency upgrades.
- Stage only task and release-metadata files. Never use
git add -Awhen unrelated changes exist. - Run focused verification for each affected project. Always run Desktop's
flutter test test/update_test.dart; check/test the CLI and stream proxy with--lockedafter updating Cargo.lock; run./gradlew helpor focused checks from both Android roots sequentially because they share build outputs; lint both Apple project files withplutil -lintor inspect Xcode build settings; run extension tests and relevant store validation for manifest changes. Inspect website metadata when advancing a train. - Commit with a Conventional Commit message and follow the user's requested branch/PR delivery workflow using
commit-and-open-pr. An explicitly requested direct-main push does not require a PR. - Include new versions and verification results in the PR description or direct-push report, as applicable.
- After merge, for CLI: confirm the draft GitHub Release from
CLI Release Build, then run CLI Publish when ready (do not treat draft creation as public ship). - Draft release bodies only link the changelog. Before publishing, copy any upgrade warning from the changelog's blockquote (for example data removed on upgrade) into the draft body so sideloaders see it.
- If
Desktop Release Buildfails in "Sign and notarize macOS app" withnotarytoolreportingTimeout of 2700 second(s), signing succeeded and Apple's notary queue was slow. Re-run withgh run rerun <run-id> --failed; thedesktop-v*draft is only created once macOS passes. - After merge, for a stream-proxy bump: when the user is ready to ship it, push a lightweight
stream-proxy-vX.Y.Ztag at the merge commit. That tag publishes:X.Y.Zand:latest; merging alone publishes only:edge.
Use the environment's configured Git/GitHub authentication. Do not clear or override authentication variables unless the user or environment specifically requires it.