2020-03-06 15:10:15

This commit is contained in:
monlor
2020-03-06 15:10:15 +08:00
parent 41b60f9401
commit 5609506ab1

View File

@@ -120,11 +120,13 @@ deploy() {
git init
fi
git config --local user.email "monlor@qq.com"
git config --local user.name "monlor"
if [ ! -f ".gitattributes" ]; then
git lfs install
git lfs track "*"
fi
git config --local user.name "monlor"
git lfs install
rm -rf .gitattributes
git lfs track "*_linux_*"
git lfs track "*_darwin_*"
if git status &> /dev/null; then
git add .
git commit -m "$(TZ='Asia/Shanghai' date "+%Y-%m-%d %H:%M:%S")" -a