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
1 changed files with 1 additions and 1 deletions

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
}