fix(ota): publish under runtimeVersion 0.1.9 to match installed APK

ROOT CAUSE wszystkich "znikajacych" OTA (2026-05-29..30, ~6 publishow w prozni):
zainstalowany APK ma EXPO_RUNTIME_VERSION=0.1.9 (AndroidManifest), ale app.json
mialo runtimeVersion "1.0" i publish_update.py defaultowal --runtime 1.0.
Updaty ladowaly w /expo-updates/1.0/, a app z headerem expo-runtime-version:0.1.9
dostawal HTTP 204 (no update) i nigdy nic nie aplikowal mimo "OK live".

Fix:
- app.json runtimeVersion "1.0" -> "0.1.9" (== APK)
- publish_update.py RUNTIME_DEFAULT "1.0" -> "0.1.9"
- Republished caly skumulowany bundle pod 0.1.9 (ce275235) — zweryfikowane:
  manifest dla expo-runtime-version:0.1.9 zwraca 200 + runtimeVersion:0.1.9 +
  bundle 4.76MB serwuje 200.

Stary /expo-updates/1.0/ (~40 nieaplikowanych updateow) do usuniecia osobno.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
jtrzupek 2026-05-31 10:59:07 +02:00
parent 732401cef2
commit c19da51aff
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@
"orientation": "portrait", "orientation": "portrait",
"userInterfaceStyle": "automatic", "userInterfaceStyle": "automatic",
"newArchEnabled": false, "newArchEnabled": false,
"runtimeVersion": "1.0", "runtimeVersion": "0.1.9",
"updates": { "updates": {
"enabled": true, "enabled": true,
"url": "https://api.goon-foss.org/expo-updates/manifest", "url": "https://api.goon-foss.org/expo-updates/manifest",

View file

@ -29,7 +29,7 @@ from pathlib import Path
ROOT = Path(__file__).resolve().parent.parent ROOT = Path(__file__).resolve().parent.parent
MOBILE = ROOT / "mobile" MOBILE = ROOT / "mobile"
DIST = MOBILE / "dist" DIST = MOBILE / "dist"
RUNTIME_DEFAULT = "1.0" RUNTIME_DEFAULT = "0.1.9" # MUSI == EXPO_RUNTIME_VERSION w APK (AndroidManifest). Zweryfikowane 2026-05-31.
# Operator config — set in your shell / .env.local before running this script. # Operator config — set in your shell / .env.local before running this script.
# Defaults are placeholders intended to fail loudly if you forgot to configure. # Defaults are placeholders intended to fail loudly if you forgot to configure.
VPS = os.environ.get("GOON_VPS_SSH", "root@your-vps.example.com") VPS = os.environ.get("GOON_VPS_SSH", "root@your-vps.example.com")