Add validated OTA candidate publishing and fix 1.1.2 dependency failure

This commit is contained in:
2026-09-27 19:00:20 +08:00
parent 98eadc5c8b
commit f80c4d9938
26 changed files with 571 additions and 25 deletions
@@ -16,6 +16,7 @@ if str(SOURCE_ROOT) not in sys.path:
from app.ota.package import build_package
from app.ota.versioning import read_software_version
from app.ota.policy import read_policy
from scripts.offline_wheels import validate_offline_wheels
def main() -> int:
@@ -26,6 +27,7 @@ def main() -> int:
source_root = Path(__file__).resolve().parents[1]
project_root = source_root.parent
wheelhouse = project_root / "发布更新相关" / "其他依赖" / "aarch64-py311"
validate_offline_wheels(source_root, wheelhouse)
frpc_bundle = project_root / "发布更新相关" / "其他依赖" / "frp" / "0.71.0" / "linux-arm64"
version = read_software_version(source_root)
policy = read_policy(source_root)