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
2be82bd5
Commit
2be82bd5
authored
Mar 26, 2019
by
sikang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update script
parent
e590cae5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
1 deletions
+16
-1
script/pkgname_generator.py
+10
-0
script/script_help.sh
+6
-1
No files found.
script/pkgname_generator.py
0 → 100755
View file @
2be82bd5
#!/usr/bin/env python3
import
random
import
string
def
radomStr
():
return
''
.
join
(
random
.
sample
(
'abcdefghijklmnopqrstuvwxyz'
,
random
.
randint
(
4
,
6
)))
print
(
radomStr
()
+
'.'
+
radomStr
()
+
'.'
+
radomStr
()
+
'.'
+
radomStr
())
script/script_help.sh
View file @
2be82bd5
echo
"脚本使用帮助"
echo
"0、生成随机包名"
echo
"1、编译release版本"
echo
"2、创建新的签名文件"
echo
"3、commit 和 push Base代码"
...
...
@@ -10,7 +11,11 @@ echo "7、为 resGuardApks 目录下的 *_release.apk 打渠道包"
echo
-n
"请输入指令编号:"
read
commod
if
((
$commod
==
'1'
))
if
((
$commod
==
'0'
))
then
./pkgname_generator.py
elif
((
$commod
==
'1'
))
then
./release_builder.sh
...
...
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