Commit f100660b by sikang

update script

parent e22fe503
. ../../gradle.properties
echo "脚本使用帮助" echo "脚本使用帮助"
echo "0、修改包名、版本号+1" echo "0、修改包名、版本号+1"
echo "1、编译release版本" echo "1、编译release版本"
...@@ -26,6 +28,13 @@ echo "23、字符串加密" ...@@ -26,6 +28,13 @@ echo "23、字符串加密"
echo "24、添加toolbox库" echo "24、添加toolbox库"
echo "25、马甲包切换" echo "25、马甲包切换"
echo " "
if [[ "$gateway_url" == "$gateway_mj" ]];then
echo "****** 当前为马甲包 ******"
else
echo "****** 当前为主包 ******"
fi
echo -n "请输入指令编号:" echo -n "请输入指令编号:"
read commod read commod
...@@ -145,7 +154,6 @@ then ...@@ -145,7 +154,6 @@ then
elif (($commod == '17')) elif (($commod == '17'))
then then
. ../../gradle.properties
chmod a+x mark_screen_img.py chmod a+x mark_screen_img.py
./mark_screen_img.py "${corp_id}" "${signing_keyAlias}" ./mark_screen_img.py "${corp_id}" "${signing_keyAlias}"
...@@ -162,7 +170,6 @@ then ...@@ -162,7 +170,6 @@ then
elif (($commod == '20')) elif (($commod == '20'))
then then
. ../../gradle.properties
chmod a+x refresh_gponline.sh chmod a+x refresh_gponline.sh
if((${#1} > 0)) if((${#1} > 0))
then then
...@@ -173,7 +180,6 @@ then ...@@ -173,7 +180,6 @@ then
elif (($commod == '21')) elif (($commod == '21'))
then then
. ../../gradle.properties
keytool -exportcert -alias ${signing_keyAlias} -keystore "app/${signing_certificate}" -storepass "${signing_keyAlias}" | openssl sha1 -binary | openssl base64 keytool -exportcert -alias ${signing_keyAlias} -keystore "app/${signing_certificate}" -storepass "${signing_keyAlias}" | openssl sha1 -binary | openssl base64
cd print cd print
echo "${app_id}" echo "${app_id}"
...@@ -202,7 +208,6 @@ then ...@@ -202,7 +208,6 @@ then
elif (($commod == '25')) elif (($commod == '25'))
then then
cd ../.. cd ../..
. gradle.properties
echo "1、切换到主包" echo "1、切换到主包"
echo "2、切换到马甲包" echo "2、切换到马甲包"
......
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