Commit cedb3fdd by sikang

udpate script

parent e371b4b8
...@@ -4,6 +4,7 @@ echo "3、注释 app module中所有权限" ...@@ -4,6 +4,7 @@ echo "3、注释 app module中所有权限"
echo "4、替换引用到的同盾R资源" echo "4、替换引用到的同盾R资源"
echo "5、将BuildConfig配置移动到gradle.properties" echo "5、将BuildConfig配置移动到gradle.properties"
echo "6、依图升级,实现新抽象" echo "6、依图升级,实现新抽象"
echo "7、添加客户等级"
echo -n "请输入指令编号:" echo -n "请输入指令编号:"
read commod read commod
...@@ -38,5 +39,11 @@ then ...@@ -38,5 +39,11 @@ then
chmod a+x update_yitu.py chmod a+x update_yitu.py
./update_yitu.py ./update_yitu.py
elif (($commod == '7'))
then
echo -n "客户等级:"
read level
chmod a+x update_properties.py
./update_properties.py "level=${level}"
fi fi
\ No newline at end of file
. ../../gradle.properties . ../../gradle.properties
chmod a+x mark_screen_img.py
python gponline.py "${corp_id}" "A" "sikang" "${app_id}" "test" developer="sikang"
\ No newline at end of file
echo "1、commit + push + push_tag + 自动发包登记 (需要配置分支)"
echo "2、自动记录发包(读取包名)"
echo "3、手动记录发包(手动指定包名)"
echo " "
echo -n "请输入指令编号:"
read commod
echo -n "此次上架方案:"
read action
chmod a+x gponline.py
if (($commod == '1'))
then
git add .
git commit -m "${app_id} ${version_name}"
git push origin ${git_branch}
tagName=t${corp_id}-${app_id}
git tag -d ${tagName}
git push origin --delete tag ${tagName}
git tag -a ${tagName} -m ${tagName}
git push origin ${tagName}
python gponline.py "${corp_id}" "${level}" "${developer}" "${app_id}" "${action}"
elif (($commod == '2'))
then
python gponline.py "${corp_id}" "${level}" "${developer}" "${app_id}" "${action}"
elif (($commod == '3'))
then
echo -n "输入要指定的包名:"
read pkgname
python gponline.py "${corp_id}" "${level}" "${developer}" "${pkgname}" "${action}"
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