Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
iOS-AutoPackage
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
app
iOS-AutoPackage
Commits
4f73ef84
Commit
4f73ef84
authored
Jan 30, 2019
by
段志勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update auto_upload_pgy.sh
parent
7223d0ac
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
ipa_script/auto_upload_pgy.sh
+1
-1
No files found.
ipa_script/auto_upload_pgy.sh
View file @
4f73ef84
...
@@ -63,7 +63,7 @@ readonly PGY_upload_log="${EBIZ_ENV}_${NOW}"
...
@@ -63,7 +63,7 @@ readonly PGY_upload_log="${EBIZ_ENV}_${NOW}"
# 上传到蒲公英,并接收 Response
# 上传到蒲公英,并接收 Response
PGY_RESPONSE
=
`
curl
-F
"file=@/
${
EBIZ_IPA_PATH
}
"
-F
"uKey=
${
PGY_USER_KEY
}
"
-F
"_api_key=
${
PGY_API_KEY
}
"
-F
installType
=
2
-F
password
=
"
${
PGY_password
}
"
-F
"updateDescription=
${
PGY_upload_log
}
"
${
PGY_UPLOAD_SERVER
}
`
PGY_RESPONSE
=
`
curl
-F
"file=@/
${
EBIZ_IPA_PATH
}
"
-F
"uKey=
${
PGY_USER_KEY
}
"
-F
"_api_key=
${
PGY_API_KEY
}
"
-F
installType
=
2
-F
password
=
"
${
PGY_password
}
"
-F
"updateDescription=
${
PGY_upload_log
}
"
${
PGY_UPLOAD_SERVER
}
`
echo
$PGY_RESPONSE
if
[
"
$?
"
-ne
"0"
]
;
then
if
[
"
$?
"
-ne
"0"
]
;
then
echo_error
"upload error"
echo_error
"upload error"
exit
1
exit
1
...
...
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