1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 01:57:12 -05:00

delay between file uploading

This commit is contained in:
Darien Raymond 2018-12-06 22:53:23 +01:00
parent 93e375fa9a
commit 146b4eef0e
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -89,6 +89,8 @@ function uploadfile() {
FILE=$1
CTYPE=$(file -b --mime-type $FILE)
curl -H "Authorization: token ${GITHUB_TOKEN}" -H "Content-Type: ${CTYPE}" --data-binary @$FILE "https://uploads.github.com/repos/v2ray/v2ray-core/releases/${RELEASE_ID}/assets?name=$(basename $FILE)"
sleep 1
}
function upload() {