2 Commits

Author SHA1 Message Date
monlor
8721073e15 2020-03-06 15:57:27 2020-03-06 15:57:27 +08:00
monlor
38e6e5beec 2020-03-06 15:50:15 2020-03-06 15:50:15 +08:00

View File

@@ -76,15 +76,12 @@ pack() {
done done
gerneral_applist gerneral_applist
if [ ! -d ${pack_dir} ]; then test ! -d ${pack_dir}/appstore && mkdir -p ${pack_dir}/appstore
mkdir -p ${pack_dir} test ! -d ${pack_dir}/temp && mkdir -p ${pack_dir}/temp
mkdir -p ${pack_dir}/appstore test ! -d ${pack_dir}/appsbin && mkdir -p ${pack_dir}/appsbin
mkdir -p ${pack_dir}/temp
mkdir -p ${pack_dir}/appsbin
fi
cp -rf appsbin/* ${pack_dir}/ cp -rf appsbin/* ${pack_dir}/appsbin/
cp -rf temp/* ${pack_dir}/ cp -rf temp/* ${pack_dir}/temp/
cp -rf install.sh ${pack_dir}/ cp -rf install.sh ${pack_dir}/
mv -f appstore/* ${pack_dir}/appstore/ mv -f appstore/* ${pack_dir}/appstore/
mv -f applist.txt ${pack_dir}/ mv -f applist.txt ${pack_dir}/
@@ -137,7 +134,7 @@ deploy() {
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
fi fi
# git lfs push "$3" --all git lfs push "$3" --all
git push "$3" git push "$3"
} }