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
8c7c27fd
Commit
8c7c27fd
authored
Apr 28, 2019
by
sikang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update script
parent
d37cfea8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
script/refresh_gponline.sh
+10
-4
No files found.
script/refresh_gponline.sh
View file @
8c7c27fd
...
@@ -2,6 +2,12 @@
...
@@ -2,6 +2,12 @@
developer
=
"sikang"
developer
=
"sikang"
cus_crop_id
=
"
${
corp_id_majia
}
"
if
((
${#
customer_level
}
==
0
))
then
cus_crop_id
==
"
${
corp_id
}
"
fi
echo
"1、commit + push + push_tag + 自动发包登记 (需要配置分支)"
echo
"1、commit + push + push_tag + 自动发包登记 (需要配置分支)"
echo
"2、自动记录发包(读取包名)"
echo
"2、自动记录发包(读取包名)"
echo
"3、手动记录发包(手动指定包名)"
echo
"3、手动记录发包(手动指定包名)"
...
@@ -21,23 +27,23 @@ then
...
@@ -21,23 +27,23 @@ then
git add
.
git add
.
git commit
-m
"
${
app_id
}
${
version_name
}
"
git commit
-m
"
${
app_id
}
${
version_name
}
"
git push origin
${
git_branch
}
git push origin
${
git_branch
}
tagName
=
t
${
c
or
p_id
}
-
${
app_id
}
tagName
=
t
${
c
us_cro
p_id
}
-
${
app_id
}
git tag
-d
${
tagName
}
git tag
-d
${
tagName
}
git push origin
--delete
tag
${
tagName
}
git push origin
--delete
tag
${
tagName
}
git tag
-a
${
tagName
}
-m
${
tagName
}
git tag
-a
${
tagName
}
-m
${
tagName
}
git push origin
${
tagName
}
git push origin
${
tagName
}
cd
lib_base/script
cd
lib_base/script
python gponline.py
"
${
c
or
p_id
}
"
"
${
level
}
"
"
${
developer
}
"
"
${
app_id
}
"
"
${
action
}
"
python gponline.py
"
${
c
us_cro
p_id
}
"
"
${
level
}
"
"
${
developer
}
"
"
${
app_id
}
"
"
${
action
}
"
elif
((
$commod
==
'2'
))
elif
((
$commod
==
'2'
))
then
then
python gponline.py
"
${
c
or
p_id
}
"
"
${
level
}
"
"
${
developer
}
"
"
${
app_id
}
"
"
${
action
}
"
python gponline.py
"
${
c
us_cro
p_id
}
"
"
${
level
}
"
"
${
developer
}
"
"
${
app_id
}
"
"
${
action
}
"
elif
((
$commod
==
'3'
))
elif
((
$commod
==
'3'
))
then
then
echo
-n
"输入要指定的包名:"
echo
-n
"输入要指定的包名:"
read
pkgname
read
pkgname
python gponline.py
"
${
c
or
p_id
}
"
"
${
level
}
"
"
${
developer
}
"
"
${
pkgname
}
"
"
${
action
}
"
python gponline.py
"
${
c
us_cro
p_id
}
"
"
${
level
}
"
"
${
developer
}
"
"
${
pkgname
}
"
"
${
action
}
"
else
else
echo
"找不到编号"
echo
"找不到编号"
...
...
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