mirror of
https://github.com/monlor/MIXBOX-ARCHIVE.git
synced 2026-04-27 13:11:07 +00:00
Compare commits
2 Commits
deploy-202
...
deploy-202
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
afd444a45f | ||
|
|
8721073e15 |
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
#copyright by monlor
|
#copyright by monlor
|
||||||
|
|
||||||
clear
|
clear
|
||||||
logsh() {
|
logsh() {
|
||||||
# 输出信息到/tmp/messages和标准输出
|
# 输出信息到/tmp/messages和标准输出
|
||||||
|
|||||||
@@ -76,12 +76,9 @@ 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}/appsbin/
|
cp -rf appsbin/* ${pack_dir}/appsbin/
|
||||||
cp -rf temp/* ${pack_dir}/temp/
|
cp -rf temp/* ${pack_dir}/temp/
|
||||||
@@ -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"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user