website: fix download finder

This commit is contained in:
Mitchell Hashimoto 2014-04-17 09:42:10 -07:00
parent 655795e9d6
commit d24369a31d
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ $consul_os = []
if ENV["CONSUL_VERSION"] if ENV["CONSUL_VERSION"]
raise "BINTRAY_API_KEY must be set." if !ENV["BINTRAY_API_KEY"] raise "BINTRAY_API_KEY must be set." if !ENV["BINTRAY_API_KEY"]
http = Net::HTTP.new("dl.bintray.com", 80) http = Net::HTTP.new("dl.bintray.com", 80)
req = Net::HTTP::Get.new("/mitchellh/consul") req = Net::HTTP::Get.new("/mitchellh/consul/")
req.basic_auth "mitchellh", ENV["BINTRAY_API_KEY"] req.basic_auth "mitchellh", ENV["BINTRAY_API_KEY"]
response = http.request(req) response = http.request(req)