From a2f204f5ee15538377883bdf768615995ccca17e Mon Sep 17 00:00:00 2001 From: LukeMackin Date: Sun, 19 Jul 2026 23:23:23 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20gen-manifest.sh=E6=9E=84=E5=BB=BA?= =?UTF-8?q?=E5=8F=B7=E8=A7=84=E5=88=99=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ota/gen-manifest.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ota/gen-manifest.sh b/ota/gen-manifest.sh index 59f1b3e..f4f5db9 100644 --- a/ota/gen-manifest.sh +++ b/ota/gen-manifest.sh @@ -1,7 +1,8 @@ #!/bin/bash # OTA manifest 生成脚本 -# CI 构建时运行: ./ota/gen-manifest.sh -# 生成 manifest-stable.json 后通过 Gitea API 上传到 Release +# 用法: ./ota/gen-manifest.sh +# 构建号规则: 每次生成APK时 versionCode +1, 对应 git tag vX.Y.Z-dav-android-N +# CI 构建时自动运行, SHA256动态填入, 生成 manifest-stable.json 后上传到 Gitea Release VERSION_NAME="${1:-0.1.0}" VERSION_CODE="${2:-7}"