Commit 4a8394a9 authored by Ed Reel's avatar Ed Reel

Update heroku from 4.28.3 to 6.13.5

parent 98f46c80
...@@ -3,15 +3,26 @@ require 'package' ...@@ -3,15 +3,26 @@ require 'package'
class Heroku < Package class Heroku < Package
description 'The Heroku Command Line Interface (CLI), formerly known as the Heroku Toolbelt, is a tool for creating and managing Heroku apps from the command line / shell of various operating systems.' description 'The Heroku Command Line Interface (CLI), formerly known as the Heroku Toolbelt, is a tool for creating and managing Heroku apps from the command line / shell of various operating systems.'
homepage 'https://devcenter.heroku.com/articles/heroku-cli' homepage 'https://devcenter.heroku.com/articles/heroku-cli'
version '4.28.3' version '6.13.5'
binary_url ({ source_url 'https://github.com/heroku/cli/archive/v6.13.5.tar.gz'
armv7l: "https://drive.google.com/uc?export=download&id=0ByCixsDmZPzxOHFIMzQyNHNFUWc", source_sha256 '769943a2e272f9b9332d85cfd5d4f49a7a3070a06b81e6da1cb33b4723a85607'
i686: "https://drive.google.com/uc?export=download&id=0ByCixsDmZPzxd3NULTRkMWlHQTA",
x86_64: "https://drive.google.com/uc?export=download&id=0ByCixsDmZPzxLURkMktpREpDZk0" def self.install
}) case ARCH
binary_sha256 ({ when 'i686'
armv7l: "b7fab53d3c8cfd42d41c1b07db069c9fd5f7261fcea48fd99114981cf1a293d7", system 'wget https://cli-assets.heroku.com/heroku-cli/channels/stable/heroku-cli-linux-x86.tar.gz -O heroku-cli.tar.gz'
i686: "1e73fbff3a10c0c95dd1aa1cf68952a95a330634fa410765962df0396315a42c", when 'x86_64'
x86_64: "9259cd8b5d7aaeb9172142b5956ad767a3d4f1bcf126e51a7f4a8c055e53c068" system 'wget https://cli-assets.heroku.com/heroku-cli/channels/stable/heroku-cli-linux-x64.tar.gz -O heroku-cli.tar.gz'
}) else
abort 'Architecture not supported.'.lightred
end
system "mkdir -p #{CREW_DEST_DIR}/usr/local/bin"
system "mkdir -p #{CREW_DEST_DIR}/usr/local/lib"
system "tar xvf heroku-cli.tar.gz"
system "mv heroku-cli-v* heroku-cli-linux-#{ARCH}"
system "mv heroku-cli-linux-#{ARCH} #{CREW_DEST_DIR}/usr/local/lib"
FileUtils.cd("#{CREW_DEST_DIR}/usr/local/bin") do
system "ln -s /usr/local/lib/heroku-cli-linux-#{ARCH}/bin/heroku heroku"
end
end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment