Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (20 sloc) 714 Bytes
file pkg("heroku-#{version}.tgz") => distribution_files("tgz") do |t|
tempdir do |dir|
mkchdir("heroku-client") do
assemble_distribution
assemble_gems
rm_rf "bin"
assemble resource("tgz/heroku"), "heroku", 0755
end
sh "tar czvf #{t.name} heroku-client"
end
end
task "tgz:build" => pkg("heroku-#{version}.tgz")
task "tgz:clean" do
clean pkg("heroku-#{version}.tgz")
end
task "tgz:release" => "tgz:build" do |t|
store pkg("heroku-#{version}.tgz"), "heroku-client/heroku-client-#{version}.tgz"
store pkg("heroku-#{version}.tgz"), "heroku-client/heroku-client-beta.tgz" if beta?
store pkg("heroku-#{version}.tgz"), "heroku-client/heroku-client.tgz" unless beta?
end
Something went wrong with that request. Please try again.