fixed # 新增本地部署脚本,一键生成对应平台的压缩包内容

This commit is contained in:
2026-10-22 18:33:42 +08:00
parent 37c933db0c
commit d238005561
41 changed files with 1158 additions and 545 deletions
+5
View File
@@ -117,6 +117,11 @@ class NoneBotPackageTests(unittest.TestCase):
commit = next(data for method, path, data in calls
if path == "git/commits")
self.assertEqual(commit["parents"], ["existing"])
self.assertEqual(commit["message"], (
manifest["source"]["message"] + "\n\n"
+ "Farm-Source-Commit: " + manifest["source"]["commit"] + "\n"
+ "Farm-Version: " + manifest["version"]
))
self.assertIn(("PATCH", "git/refs/heads/main", {
"sha": "generated", "force": False,
}), calls)