novel-doomsday-resurgence/books/末日重生-开局囤货十亿物资/sync_summary_to_gitea.sh
AI写作助手 73ae01f177 自动同步:章节完整性检查和摘要报告更新
- 章节总数: 96 章
- 修复章节检查完成
- 摘要报告更新完成
- 同步时间: 2026-04-01 09:54:50
2026-04-01 09:54:50 +08:00

50 lines
1.5 KiB
Bash
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/bash
# 同步完整摘要报告到Gitea仓库
# 作者:番茄小说创作助手
# 时间2026-04-01
set -e
cd /root/.openclaw/workspace/tomato-novel/books/末日重生-开局囤货十亿物资
echo "开始同步完整摘要报告到Gitea仓库..."
# 1. 确保consolidated_summaries目录被跟踪
if [ ! -f "consolidated_summaries/.gitkeep" ]; then
echo "创建.gitkeep文件以确保目录被跟踪"
touch consolidated_summaries/.gitkeep
fi
# 2. 添加所有更改
echo "添加更改到暂存区..."
git add consolidated_summaries/complete_chapter_summaries.md
git add consolidated_summaries/.gitkeep
git add analysis/
git add summaries/
git add chapters/0095_凌晨五点.md
git add .write.lock
git add chapters/index.json
git add story/chapter_summaries.md
git add story/current_state.md
git add story/pending_hooks.md
# 3. 提交更改
echo "提交更改..."
git commit -m "同步完整章节摘要报告 (2026-04-01)
- 添加完整章节摘要报告92章详细摘要
- 更新分析报告和摘要文件
- 添加第95章《凌晨五点》
- 更新小说状态和索引文件
整合时间2026-04-01 08:12:58
总章节数92章
故事线:重生觉醒 → 资金套现 → 防御建设 → 物资采购 → 多方威胁 → 夜袭对抗 → 绝境脱身 → 反制布局 → 最终准备 → 末世开局"
# 4. 推送到远程仓库
echo "推送到Gitea远程仓库..."
git push gitea master
echo "同步完成!"
echo "摘要报告已成功同步到https://gitea.nevadalice.top:226/liyuchen/novel-doomsday-resurgence"