Commit ff31d0aa by sikang

update script

parent b72ed88a
defaultTasks 'clean', 'resguardAppProductWebsiteRelease'
buildscript {
repositories {
google()
......
......@@ -21,6 +21,6 @@
"ProductListFragment",
"RepaymentFragment"
],
"root": "../../app/src/main",
"manifest": "../../app/src/main/AndroidManifest.xml"
"root": "../../../app/src/main",
"manifest": "../../../app/src/main/AndroidManifest.xml"
}
......@@ -79,8 +79,8 @@
"YWUser",
"TDChannel"
],
"root": "../../lib_base/src/main",
"manifest": "../../lib_base/src/main/AndroidManifest.xml",
"approot": "../../app/src/main",
"appmanifest": "../../app/src/main/AndroidManifest.xml"
"root": "../../../lib_base/src/main",
"manifest": "../../../lib_base/src/main/AndroidManifest.xml",
"approot": "../../../app/src/main",
"appmanifest": "../../../app/src/main/AndroidManifest.xml"
}
cd ..
cd ../../
git checkout . && git clean -df
git reset --hard origin/master
cd ..
......
cd ../../
source ./gradle.properties
git add .
git commit -m "${app_id} ${version_name}"
tagName=t${corp_id}-${app_id}
git tag -a ${tagName} -m ${tagName}
git push origin ${tagName}
\ No newline at end of file
......@@ -7,28 +7,35 @@ echo "4、commit 和 push UI代码 (需手动修改分支)"
echo "5、pull Base代码 "
echo "6、pull UI代码 "
echo "7、为 resGuardApks 目录下的 *_release.apk 打渠道包"
echo "8、提交一个渠道包Tag"
echo "a、开始四大组件混淆"
echo "b、还原四大组件混淆"
echo -n "请输入指令编号:"
read commod
if (($commod == '0'))
then
chmod a+x pkgname_generator.py
./pkgname_generator.py
elif (($commod == '1'))
then
chmod a+x release_builder.sh
./release_builder.sh
elif (($commod == '2'))
then
# ./create_keystore.py
chmod a+x creat_keystore.sh
./creat_keystore.sh
elif (($commod == '3'))
then
chmod a+x base_push.sh
./base_push.sh
elif (($commod == '4'))
then
chmod a+x module_push.sh
./module_push.sh
elif (($commod == '5'))
......@@ -43,8 +50,26 @@ then
elif (($commod == '7'))
then
chmod a+x make_channel.sh
./make_channel.sh
elif (($commod == '8'))
then
chmod a+x push_with_tag.sh
./push_with_tag.sh
elif (($commod == 'a'))
then
cd grable
chmod a+x rename_peoject.sh
./rename_peoject.sh
elif (($commod == 'b'))
then
cd grable
chmod a+x reset_name.sh
./reset_name.sh
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