fix: 统一打包副本 Podfile 大小写
This commit is contained in:
+1
-1
@@ -105,7 +105,7 @@ COPY_ITEMS = [
|
||||
"readoor.xcodeproj",
|
||||
"readoorTests",
|
||||
"Vendor",
|
||||
"podfile",
|
||||
"Podfile",
|
||||
"Pods",
|
||||
"Podfile.lock",
|
||||
"readoor.xcworkspace",
|
||||
|
||||
@@ -486,6 +486,10 @@ async def copy_source_code(task_id: str, task, source_dir: Path) -> Path:
|
||||
|
||||
for item in COPY_ITEMS:
|
||||
src = source_dir / item
|
||||
# 历史分支中该文件可能仍是小写 podfile;构建副本统一使用 Pods.xcodeproj
|
||||
# 引用的标准名称 Podfile,避免大小写敏感文件系统报路径不一致。
|
||||
if item == "Podfile" and not src.is_file():
|
||||
src = source_dir / "podfile"
|
||||
dst = build_dir / item
|
||||
if src.is_dir():
|
||||
await log_streamer.emit(task_id, f"拷贝目录: {item}")
|
||||
|
||||
Reference in New Issue
Block a user