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

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