fix(publish): 匯出樹刪 .gitattributes(同步)

This commit is contained in:
uncle6me-web
2026-07-18 23:45:44 +08:00
parent d6a051dbfc
commit 98869c5abc
+4
View File
@@ -33,6 +33,10 @@ if command -v git-lfs >/dev/null 2>&1; then
done
fi
# 2.5) 公開端不吃 LFS:刪掉 .gitattributes,否則 mirror commit 時 git-lfs 會把
# 實體檔又轉回 pointer 上傳(GitHub README 圖就破了——2026-07-18 實撞)
rm -f "$TMP_EXPORT/.gitattributes"
# 3) 套排除清單
while IFS= read -r p; do
case "$p" in ''|\#*) continue ;; esac