Commit 76d4ac67 authored by liguobao's avatar liguobao

feat: 更新OSS地址

parent 942eb493
#!/usr/bin/env bash #!/usr/bin/env bash
TOKEN=Aau6PvRI4o0OTYrgpQHzxG7qEDkADx6CaUAJV2 TOKENONLINE=4583kfhbdk7gydhf293r23r
TOKENONLINE=456734sdlasysdhf293r23r
make make
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
...@@ -48,11 +47,11 @@ for os in $os_all; do ...@@ -48,11 +47,11 @@ for os in $os_all; do
if [ "x${os}" = x"windows" ]; then if [ "x${os}" = x"windows" ]; then
zip -rq ${majora_dir_name}.zip ${majora_dir_name} zip -rq ${majora_dir_name}.zip ${majora_dir_name}
# curl -F file=@"${majora_dir_name}.zip" -F token=$TOKEN http://81.70.224.147:10010/version/"$majora_version" # curl -F file=@"${majora_dir_name}.zip" -F token=$TOKEN http://81.70.224.147:10010/version/"$majora_version"
curl -F file=@"${majora_dir_name}.zip" -F token=$TOKENONLINE https://oss.virjar.com/majora/bin/"$majora_version" curl -F file=@"${majora_dir_name}.zip" -F token=$TOKENONLINE https://oss.iinti.cn/majora/bin/"$majora_version"
else else
tar -zcf ${majora_dir_name}.tar.gz ${majora_dir_name} tar -zcf ${majora_dir_name}.tar.gz ${majora_dir_name}
# curl -F file=@"${majora_dir_name}.tar.gz" -F token=$TOKEN http://81.70.224.147:10010/version/"$majora_version" # curl -F file=@"${majora_dir_name}.tar.gz" -F token=$TOKEN http://81.70.224.147:10010/version/"$majora_version"
curl -F file=@"${majora_dir_name}.tar.gz" -F token=$TOKENONLINE https://oss.virjar.com/majora/bin/"$majora_version" curl -F file=@"${majora_dir_name}.tar.gz" -F token=$TOKENONLINE https://oss.iinti.cn/majora/bin/"$majora_version"
fi fi
cd .. cd ..
rm -rf ${majora_path} rm -rf ${majora_path}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment