mirror of
https://github.com/lineageos4microg/docker-lineage-cicd
synced 2026-07-24 11:14:59 +02:00
bb48c0366c
- '/api/v1/' (22.2-, 23.2 prior to June 23, 2026)
- '/api/v2/' (23.2+ starting June 23, 2026 due to this LOS commit)
https://github.com/LineageOS/android_packages_apps_Updater/commit/4fd617cdba12cdd16840d26b27bae59c2871ee19
"ota_suffix" for Lineage builds is the *upstream* OTA_URL format
after the "/v[0-9]+/". This is appended that to the provided $OTA_URL
so will work for /v1/ or /v2/ (or future versions as well):
- LOS v1: https://download.lineageos.org/api/v1/{device}/{type}/{incr}
- LOS v2: https://download.lineageos.org/api/v2/devices/{device}/builds
For iodéOS builds, there is no /v1/ or /v2/ in the upstream OTA_URL
so will just need to manually assign /v2/ format for version 7.7+ and
/v1/ format for 7.6- (as of 22 Jul, 2026 v7-staging is /v2/)
- iodéOS OTA_URL format: https://ota.iode.tech/{ver}/{device}.json