Skip to content

Commit

Permalink
shell
Browse files Browse the repository at this point in the history
  • Loading branch information
cfanbo committed Aug 22, 2024
1 parent 8cd0f79 commit 5860d47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/upload_assets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
VERSION=$1

# repo
REPO ="cfanbo/minkv"
REPO="cfanbo/minkv"
# softname
NAME="minkv"

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 5860d47

Please sign in to comment.