-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Expand file tree
/
Copy pathota.ts
More file actions
16 lines (15 loc) · 893 Bytes
/
ota.ts
File metadata and controls
16 lines (15 loc) · 893 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import otaConfig from '../../ota.config.js';
/**
* OTA update version for this native build.
* Sentinel `vX.XX.X` means no OTA has shipped yet.
* OTA hotfix: Runway uses a two-digit patch (e.g. `release/7.73.01`, `release/7.73.21`)
* so CI can detect OTA vs native hotfix. Two-digit patch AB → base patch A, OTA iteration B.
* `OTA_VERSION` keeps the raw Runway id with a `v` prefix (e.g. `v7.73.01`).
* Nightly / ad-hoc OTAs may use simple counters (`v0`, `v1`, …) per docs/nightly-ota-updates.md.
* Reset when releasing a new native build as appropriate for that line.
* Kept here (not only in ota.config.js) so changes there do not alter the Expo fingerprint and break CI.
*/
export const OTA_VERSION: string = 'v7.74.2';
export const RUNTIME_VERSION = otaConfig.RUNTIME_VERSION;
export const PROJECT_ID = otaConfig.PROJECT_ID;
export const UPDATE_URL = otaConfig.UPDATE_URL;