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:
parent
93e375fa9a
commit
146b4eef0e
@ -89,6 +89,8 @@ function uploadfile() {
|
|||||||
FILE=$1
|
FILE=$1
|
||||||
CTYPE=$(file -b --mime-type $FILE)
|
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)"
|
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() {
|
function upload() {
|
||||||
|
Loading…
Reference in New Issue
Block a user