Skip to content

Open source Grok Bot alternative, Bring your own agent and subscription: message Claude Code, Codex, Gemini CLI, Cursor, Copilot and 40+ AI agents as bots on your own computer, from iPhone, Mac, Windows, Linux or terminal. Agent-agnostic and free. Also a Muse and Dots alternative. Built in Rust.

fix(ci): offer a release as soon as App Review passes

leepokaife4eec4f43ec
diff --git a/docs/reference/compatibility.md b/docs/reference/compatibility.md
index dc5def43..b13b85ec 100644
--- a/docs/reference/compatibility.md
+++ b/docs/reference/compatibility.md
@@ -73,7 +73,8 @@ follows the App Store:
- **Release gate** (`tools/release-gate.py`, run by `.github/workflows/release-gate.yml` after
each release and hourly): releases are published without GitHub's *latest* mark. The gate
marks the newest fully uploaded release whose `MIN_APP` the App Store's iPhone version meets
- (`itunes.apple.com/lookup?id=6760984418`) and points the Homebrew tap (cask and formula) at
+ (`itunes.apple.com/lookup?id=6760984418`, with a query string of its own each time: Apple's CDN
+ keeps the bare URL for up to a day after a release) and points the Homebrew tap (cask and formula) at
it. The website's download links (`releases/latest/download/…`), `packaging/install.sh`,
electron-updater and `codync-host update` all read the latest release, so none of them sees
a release that waits. Every release after a raise waits with it, desktop-only ones too, until
diff --git a/tools/release-gate.py b/tools/release-gate.py
index 75ba8546..9d3eea5d 100644
--- a/tools/release-gate.py
+++ b/tools/release-gate.py
@@ -21,6 +21,7 @@ import os
import re
import subprocess
import tempfile
+import time
import urllib.request
from pathlib import Path
@@ -51,7 +52,8 @@ def parse(version):
def app_store_version():
- with urllib.request.urlopen(APP_STORE_LOOKUP, timeout=20) as response:
+ # Apple's CDN keeps the bare URL for up to a day after a release; a query string of its own skips it.
+ with urllib.request.urlopen(f"{APP_STORE_LOOKUP}&_={time.time_ns()}", timeout=20) as response:
results = json.load(response)["results"]
return results[0]["version"] if results else None