mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Update release script with proper support for non-*.docker.io bucket URLs
This commit is contained in:
parent
f9dd0da182
commit
b8e7ec1b74
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ s3_url() {
|
|||
echo "https://$BUCKET"
|
||||
;;
|
||||
*)
|
||||
echo "http://$BUCKET.s3.amazonaws.com"
|
||||
s3cmd ws-info s3://$BUCKET | awk -v 'FS=: +' '/http:\/\/'$BUCKET'/ { gsub(/\/+$/, "", $2); print $2 }'
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue