1.7.0:常规发布

- 版本号 1.7.0 -> 1.7.0
- 重建三端并打包
- 关键测试全过
This commit is contained in:
xmz7891
2026-10-06 23:08:07 +08:00
parent 4c88ca901f
commit ce87ec1650
32 changed files with 2476 additions and 61 deletions
+13 -2
View File
@@ -1,7 +1,11 @@
# -*- coding: utf-8 -*-
r"""设备回来了:把 1.6.1 传到下载区,并部署最新 relay。"""
r"""设备回来了:把成品传到下载区,并部署最新 relay。
版本号从 _build/package_remote.py 里读,不用手改。
"""
from __future__ import annotations
import re
import sys
from pathlib import Path
@@ -10,7 +14,14 @@ sys.path.insert(0, str(ROOT / "_build"))
from devssh import run, upload # noqa: E402
VER = "1.6.1"
def current_version() -> str:
text = (ROOT / "_build" / "package_remote.py").read_text(encoding="utf-8")
match = re.search(r'VERSION\s*=\s*"([^"]+)"', text)
return match.group(1) if match else "0.0.0"
VER = current_version()
REMOTE_DIR = "/root/lanremote-relay/downloads"
UPLOADS = [