Correct s3 url base for region "cn-north-1"

pull/6/head
ThemeZ 2015-11-26 11:37:28 +08:00
parent e09dd8df47
commit 3342e4e1d3
1 changed files with 2 additions and 0 deletions

View File

@ -541,6 +541,8 @@ function upload-server-tars() {
# "US Classic" does not follow the pattern
s3_url_base=https://s3.amazonaws.com
s3_bucket_location=us-east-1
elif [[ "${s3_bucket_location}" == "cn-north-1" ]]; then
s3_url_base=https://s3.cn-north-1.amazonaws.com.cn
fi
local -r staging_path="devel"