Browse Source

delay between file uploading

Darien Raymond 7 years ago
parent
commit
146b4eef0e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      release/release-ci.sh

+ 2 - 0
release/release-ci.sh

@@ -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() {