update the heroku client
update:beta
update to the latest beta client
$ heroku update Updating from v1.2.3… done, updated to v2.3.4.pre
# File lib/heroku/command/update.rb, line 29 def beta validate_arguments! update_from_url("https://toolbelt.herokuapp.com/download/beta-zip") end
update
update the heroku client
Example:
$ heroku update Updating from v1.2.3… done, updated to v2.3.4
# File lib/heroku/command/update.rb, line 17 def index validate_arguments! update_from_url("https://toolbelt.herokuapp.com/download/zip") end
# File lib/heroku/command/update.rb, line 36 def update_from_url(url) Heroku::Updater.check_disabled! action("Updating from #{Heroku::VERSION}") do if new_version = Heroku::Updater.update(url) status("updated to #{new_version}") else status("nothing to update") end end end