diff --git a/tools/upload_assets.sh b/tools/upload_assets.sh index 2e0b1e7..fac27a7 100755 --- a/tools/upload_assets.sh +++ b/tools/upload_assets.sh @@ -3,7 +3,7 @@ VERSION=$1 # repo -REPO ="cfanbo/minkv" +REPO="cfanbo/minkv" # softname NAME="minkv" @@ -32,10 +32,10 @@ cat ./SHASUMS256.txt # install aliyun script /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/aliyun/aliyun-cli/HEAD/install.sh)" -aliyun configure --profile default # upload assets FLAGS="${BUCKET}/ --force --access-key-id ${ACCESS_KEY_ID} --access-key-secret ${ACCESS_KEY_SECRET} --region cn-shanghai" +echo $LFLAGS for filename in "${LIST[@]}" do aliyun oss cp $filename $FLAGS