fix(publish): 匯出樹刪 .gitattributes(同步)
This commit is contained in:
@@ -33,6 +33,10 @@ if command -v git-lfs >/dev/null 2>&1; then
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# 2.5) 公開端不吃 LFS:刪掉 .gitattributes,否則 mirror commit 時 git-lfs 會把
|
||||||
|
# 實體檔又轉回 pointer 上傳(GitHub README 圖就破了——2026-07-18 實撞)
|
||||||
|
rm -f "$TMP_EXPORT/.gitattributes"
|
||||||
|
|
||||||
# 3) 套排除清單
|
# 3) 套排除清單
|
||||||
while IFS= read -r p; do
|
while IFS= read -r p; do
|
||||||
case "$p" in ''|\#*) continue ;; esac
|
case "$p" in ''|\#*) continue ;; esac
|
||||||
|
|||||||
Reference in New Issue
Block a user