Commit bee7f04d by sikang

update script

parent 4d05f986
......@@ -7,10 +7,11 @@ cus_crop_id=$1
if((${#cus_crop_id}==0))
then
cus_crop_id="${corp_id_majia}"
fi
if((${#cus_crop_id}==0))
then
cus_crop_id=="${corp_id}"
cus_crop_id="${corp_id}"
fi
echo "1、commit + push + push_tag + 自动发包登记 (需要配置分支)"
......
......@@ -21,7 +21,6 @@ echo "18、加固"
echo "19、混淆api"
echo "20、更新GP状态"
echo -n "请输入指令编号:"
read commod
......@@ -150,9 +149,14 @@ then
elif (($commod == '20'))
then
. ../../gradle.properties
chmod a+x refresh_gponline.sh
./refresh_gponline.sh
if((${#1} > 0))
then
./refresh_gponline.sh "${corp_id}${1}"
else
./refresh_gponline.sh
fi
else
echo "找不到编号"
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment