From 07a68b01a4edf10e29825580b21a67f352d2c874 Mon Sep 17 00:00:00 2001 From: katelya Date: Thu, 4 Sep 2025 15:19:50 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E6=9B=B4=E6=96=B0=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E5=8F=B7=E5=88=B0=2020250904151930?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 使用 generate-version.js 脚本生成新版本号 - 同步更新 src/lib/version.ts 和 VERSION.txt - 确保前端显示正确的版本信息 - 触发 Docker 镜像重新构建 --- README.md | 11 +++++++---- VERSION.txt | 2 +- src/lib/version.ts | 2 +- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 4d1a874..f425ce4 100644 --- a/README.md +++ b/README.md @@ -578,8 +578,9 @@ docker compose -f docker-compose.kvrocks.yml up -d **第一步:下载配置文件** 选择以下任一配置文件: + - **基础版**: [config.json](https://www.mediafire.com/file/xl3yo7la2ci378w/config.json/file) -- **Plus版**: [配置文件 Plus 版本【94 片源】](https://www.mediafire.com/file/fbpk1mlupxp3u3v/configplus.json/file) +- **Plus 版**: [配置文件 Plus 版本【94 片源】](https://www.mediafire.com/file/fbpk1mlupxp3u3v/configplus.json/file) **第二步:获取正确的 JSON 内容** @@ -739,8 +740,9 @@ Vercel 会自动重新部署(约 1-2 分钟),部署成功后即可正常 **第一步:下载配置文件** 选择以下任一配置文件下载: + - **基础版**: [config.json](https://www.mediafire.com/file/xl3yo7la2ci378w/config.json/file) -- **Plus版**: [配置文件 Plus 版本【94 片源】](https://www.mediafire.com/file/fbpk1mlupxp3u3v/configplus.json/file) +- **Plus 版**: [配置文件 Plus 版本【94 片源】](https://www.mediafire.com/file/fbpk1mlupxp3u3v/configplus.json/file) **第二步:验证下载的文件内容** @@ -759,8 +761,8 @@ Vercel 会自动重新部署(约 1-2 分钟),部署成功后即可正常 1. **进入仓库**: 回到你 Fork 的 GitHub 仓库 2. **编辑文件**: 找到 `config.json` 文件,点击 **✏️ 编辑** 按钮 -3. **替换内容**: - - **删除所有原有内容** +3. **替换内容**: + - **删除所有原有内容** - **粘贴从本地文件复制的完整 JSON 内容** - **确保内容以 `{` 开头,以 `}` 结尾** 4. **验证格式**: 在提交前检查内容是否为有效的 JSON 格式 @@ -782,6 +784,7 @@ Vercel 会自动重新部署(约 1-2 分钟),部署成功后即可正常 4. **查看构建日志**: 在 Cloudflare Pages 的部署页面查看详细错误信息 **示例正确的 JSON 格式开头:** + ```json { "cache_time": 7200, diff --git a/VERSION.txt b/VERSION.txt index 2277928..dd0d4be 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -20250904174500 \ No newline at end of file +20250904151930 \ No newline at end of file diff --git a/src/lib/version.ts b/src/lib/version.ts index 03c556c..4c333b3 100644 --- a/src/lib/version.ts +++ b/src/lib/version.ts @@ -2,7 +2,7 @@ 'use client'; -const CURRENT_VERSION = '20250903203337'; +const CURRENT_VERSION = '20250904151930'; // 版本检查结果枚举 export enum UpdateStatus {