dpkg/dpkg.sh

43 lines
1.0 KiB
Bash
Raw Normal View History

2022-09-29 01:20:26 +00:00
#$1电脑密码 不设置默认为hg123123
2022-09-28 09:20:31 +00:00
git clean -fd
git checkout .
2022-11-04 01:18:03 +00:00
if [ "$1" == "hg" ];then
2022-10-18 08:32:35 +00:00
echo "---------------dpkg hg---------------"
2022-10-18 08:30:27 +00:00
./build.sh hg $2
./build.sh hgso $2
./build.sh hgweb $2
2022-11-04 01:18:03 +00:00
elif [ "$1" == "lsc" ];then
2022-10-18 08:32:35 +00:00
echo "---------------dpkg lsc---------------"
2022-10-18 08:30:27 +00:00
./build.sh lsc $2
./build.sh lscsm $2
./build.sh lscso $2
./build.sh lscweb $2
2022-11-04 01:18:03 +00:00
elif [ "$1" == "hw" ];then
2022-10-18 08:32:35 +00:00
echo "---------------dpkg hw---------------"
2022-10-18 08:30:27 +00:00
./build.sh hw $2
./build.sh hwso $2
2023-01-14 07:46:27 +00:00
elif [ "$1" == "cts" ];then
echo "---------------dpkg cts---------------"
./build.sh cts $2
2023-01-14 09:16:39 +00:00
#./build.sh ctsso $2
2023-02-03 09:00:01 +00:00
elif [ "$1" == "zj" ];then
echo "---------------dpkg zj---------------"
./build.sh cts $2
#./build.sh ctsso $2
2022-10-18 08:30:27 +00:00
else
2022-10-18 08:32:35 +00:00
echo "---------------dpkg all---------------"
2022-10-18 08:30:27 +00:00
./build.sh hg $2
./build.sh hgso $2
./build.sh hgweb $2
./build.sh lsc $2
./build.sh lscsm $2
./build.sh lscso $2
./build.sh lscweb $2
./build.sh hw $2
./build.sh hwso $2
2023-01-14 07:55:37 +00:00
./build.sh cts $2
2023-02-03 09:00:01 +00:00
./build.sh zj $2
2023-01-14 09:16:39 +00:00
#./build.sh ctsso $2
2022-10-18 08:30:27 +00:00
fi