Scert/mark_done.py

22 lines
1.2 KiB
Python
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.

with open("doc/Scert整改任务执行清单.md", "r", encoding="utf-8") as f:
text = f.read()
text = text.replace(
"- [ ] 部署静态产物至第一台服务器(8.137.23.95)并在 Chrome MCP 验证实机新建域名弹窗默认勾选效果。\n- [ ] 提交并双重推送 Git 远端仓库。",
"- [✓] 部署静态产物至第一台服务器(8.137.23.95)并在 Chrome MCP 验证实机新建域名弹窗默认勾选效果。\n- [✓] 提交并双重推送 Git 远端仓库。"
)
with open("doc/Scert整改任务执行清单.md", "w", encoding="utf-8") as f:
f.write(text)
with open("doc/Scert整改合并优化清单.md", "r", encoding="utf-8") as f:
text_m = f.read()
text_m = text_m.replace(
"- [ ] 部署静态产物至第一台服务器(8.137.23.95)并在 Chrome MCP 验证实机新建域名弹窗默认勾选效果。\n- [ ] 提交并双重推送 Git 远端仓库。",
"- [✓] 部署静态产物至第一台服务器(8.137.23.95)并在 Chrome MCP 验证实机新建域名弹窗默认勾选效果。\n- [✓] 提交并双重推送 Git 远端仓库。"
)
with open("doc/Scert整改合并优化清单.md", "w", encoding="utf-8") as f:
f.write(text_m)
print("Marked status as completed in execution lists.")