4baf24f6f8
GET /version(公开)读 /etc/pangolin/version.yaml(每请求重载,免重启);缺省回退。 download_urls 接 /downloads。deploy.sh 装清单(存在则不覆盖, 保住线上 bump)。含 4 测试。 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013nMthbVEmQquxBRKb9Fj8u
23 lines
1.0 KiB
YAML
23 lines
1.0 KiB
YAML
# version.yaml — 客户端自动更新版本清单(committed default)。
|
|
#
|
|
# deploy/single-node/deploy.sh 把这份文件安装到 /etc/pangolin/version.yaml
|
|
# (VERSION_MANIFEST 默认路径,见 server/internal/httpapi/version.go)。
|
|
# scripts/ci/release-client.sh 在每次 client-v* 发版时,以这份文件为模板改写
|
|
# version / build_number 字段,再原样(SSH)推到 pangolin1 的
|
|
# /etc/pangolin/version.yaml —— 控制面每次请求都重新读该文件,发版立即生效,
|
|
# 不需要重启/重新部署控制面。
|
|
#
|
|
# download_urls 目前是固定「仅保留最新一份」的稳定 URL(deploy-client.sh 每次
|
|
# 用同名文件覆盖),不是按版本变化的路径,因此这里不需要随发版改写;
|
|
# macos / ios 产物尚未产出,先留空字符串。
|
|
version: "1.0.48"
|
|
build_number: 10048
|
|
force_update: false
|
|
release_notes: ""
|
|
download_urls:
|
|
android: "https://api.yanmeiai.com/downloads/pangolin-android.apk"
|
|
windows: "https://api.yanmeiai.com/downloads/pangolin-windows-x64-setup.exe"
|
|
macos: ""
|
|
ios: ""
|
|
changelog: []
|