From a6ce16f9c4f81459cc91ee16e234fe1fed6744a3 Mon Sep 17 00:00:00 2001 From: Codex Date: Thu, 21 May 2026 15:28:21 +0800 Subject: [PATCH] =?UTF-8?q?docs/README:=20=E7=89=88=E6=9C=AC=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E6=AE=B5=E5=BC=95=E5=90=91=20CHANGELOG.md=20+=20git?= =?UTF-8?q?=20tags=20+=20=E5=8F=91=E5=B8=83=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 把 V3.0.0–V3.3.3 的散落条目统一到 CHANGELOG.md,README 只保留最近 3 个版本作为快照 - 加发布流程段:bump_version.py 用法 + test_version_consistency.py 守门 - 顶部链向 CHANGELOG.md 与 git tags 页面 回归:36 个路径引用全部存在;353 个测试通过。 Co-Authored-By: Claude Opus 4.7 --- README.md | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index b56c54d..e0ffb3c 100644 --- a/README.md +++ b/README.md @@ -612,9 +612,12 @@ A: 备份 `config/config.json` 与 `state/` 目录 → `git pull`(或重新下 ## 版本更新日志 -完整变更:[Git 提交历史](../../commits/main)。下面是最近主要版本: +完整变更见 [CHANGELOG.md](CHANGELOG.md)(Keep a Changelog 格式)。 +所有发布都打了 git tag,可以通过 `git tag -l` 查看,或访问 [git tags 页面](../../tags)。 -### V3.3.3 (2025-12-28) — 当前版本 +最近 3 个版本: + +### V3.3.3 (2025-12-28) — 当前 - ✨ 新增:30 分钟超时保护机制 - 🐛 修复:模板与截图路径配置统一,使用 [`path_config.py`](douyin/core/path_config.py) - 🔧 优化:行为日志路径统一为 `path_config.get_actions_log_path()` @@ -628,20 +631,20 @@ A: 备份 `config/config.json` 与 `state/` 目录 → `git pull`(或重新下 - ✨ 新增:福袋图标检测等待时间可配置 - 🔧 优化:阶段检测优先使用像素检测;合并阶段 1.5 与阶段 3 的 OCR -### V3.3.0 -- 🔄 重构:模块化结构调整 -- ✨ 新增:像素检测优先策略 / GUI 截图+OCR / 强制停止按钮 +### 发布流程 -### V3.2.0 -- ✨ 新增:高价值福袋预约 / 高价值直播间回访 -- 🔧 优化:推荐页养号 +新版本发布走 [`tools/dev/bump_version.py`](tools/dev/bump_version.py): -### V3.1.0 -- ✨ 新增:推荐页养号 +```bash +python tools/dev/bump_version.py patch # V3.3.3 → V3.3.4 +python tools/dev/bump_version.py minor # V3.3.3 → V3.4.0 +python tools/dev/bump_version.py major # V3.3.3 → V4.0.0 +python tools/dev/bump_version.py --dry-run patch # 只看会改什么 +``` + +脚本会自动同步 `version.py` / `pyproject.toml` / `CHANGELOG.md` 顶部并创建 git tag。 +[`tests/test_version_consistency.py`](tests/test_version_consistency.py) 9 个用例守住三处版本号一致。 -### V3.0.0 -- 🔄 重大更新:PaddleOCR 替换 pytesseract -- ✨ 新增:自动分辨率适配 ---