From 5860d47d8455ee714d31e1121b625ede1c812e15 Mon Sep 17 00:00:00 2001 From: cfanbo Date: Thu, 22 Aug 2024 01:24:44 +0800 Subject: [PATCH] shell --- tools/upload_assets.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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