website: fix website for downloads for 0.1.1

This commit is contained in:
Mitchell Hashimoto 2014-08-05 14:36:30 -07:00
parent afc942358d
commit 8391c80723
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ if ENV["TERRAFORM_VERSION"]
response.body.split("\n").each do |line| response.body.split("\n").each do |line|
next if line !~ /\/mitchellh\/terraform\/terraform_(#{Regexp.quote(ENV["TERRAFORM_VERSION"])}.+?)'/ next if line !~ /\/mitchellh\/terraform\/terraform_(#{Regexp.quote(ENV["TERRAFORM_VERSION"])}.+?)'/
filename = $1.to_s filename = $1.to_s
os = filename.split("_")[2] os = filename.split("_")[1]
next if os == "SHA256SUMS" next if os == "SHA256SUMS"
next if os == "web" next if os == "web"