1
0
Fork 0
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:
Tianon Gravi 2013-11-08 15:44:52 -07:00
parent f9dd0da182
commit b8e7ec1b74

View file

@ -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
}