Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lib_base
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sikang
lib_base
Commits
cedb3fdd
Commit
cedb3fdd
authored
Apr 24, 2019
by
sikang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
udpate script
parent
e371b4b8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
51 additions
and
3 deletions
+51
-3
script/code/code_sync.sh
+8
-0
script/refresh_gponline.sh
+43
-3
No files found.
script/code/code_sync.sh
View file @
cedb3fdd
...
@@ -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
script/refresh_gponline.sh
100755 → 100644
View file @
cedb3fdd
.
../../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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment