Skip to content

Commit

Permalink
shell: upload_assets.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
cfanbo committed Aug 22, 2024
1 parent d60b202 commit 17a0233
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tools/upload_assets.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash

set -e
VERSION=$1

# repo
Expand Down Expand Up @@ -33,6 +33,10 @@ cat ./SHASUMS256.txt
# install aliyun script
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/aliyun/aliyun-cli/HEAD/install.sh)"

aliyun configure set --profile default --mode AK --access-key-id ${ACCESS_KEY_ID} --access-key-secret ${ACCESS_KEY_SECRET} --region cn-shanghai
aliyun configure switch --profile default
aliyun configure list

# upload assets
FLAGS="${BUCKET}/ --force --access-key-id ${ACCESS_KEY_ID} --access-key-secret ${ACCESS_KEY_SECRET} --region cn-shanghai"
echo $LFLAGS
Expand Down

0 comments on commit 17a0233

Please sign in to comment.