Release and publish

From playbridgeapp/playbridge · View interactive version

Release and publish is an AI agent skill from the GitHub repository playbridgeapp/playbridge. Prepare a PlayBridge release by explicitly requested version uprevs, changelog updates, verification, commit, push, and PR creation or update. Use only when the user asks for an uprev, version bump, or release; do not trigger for an ordinary commit, push, or PR request.

How to use this skill

Skill file

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

  1. Inspect git status and the diff against the intended base. Identify affected projects without absorbing unrelated worktree changes.
  1. 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.0 train, while unchanged products skip it; patches advance independently per product within its current train. A changed product that skipped the current train joins at x.y.0 before 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.
  1. 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.
  2. Stage only task and release-metadata files. Never use git add -A when unrelated changes exist.
  3. 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 --locked after updating Cargo.lock; run ./gradlew help or focused checks from both Android roots sequentially because they share build outputs; lint both Apple project files with plutil -lint or inspect Xcode build settings; run extension tests and relevant store validation for manifest changes. Inspect website metadata when advancing a train.
  4. 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.
  5. Include new versions and verification results in the PR description or direct-push report, as applicable.
  6. 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).
  7. 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.
  8. If Desktop Release Build fails in "Sign and notarize macOS app" with notarytool reporting Timeout of 2700 second(s), signing succeeded and Apple's notary queue was slow. Re-run with gh run rerun <run-id> --failed; the desktop-v* draft is only created once macOS passes.
  9. After merge, for a stream-proxy bump: when the user is ready to ship it, push a lightweight stream-proxy-vX.Y.Z tag at the merge commit. That tag publishes :X.Y.Z and :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.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.