class Takeoff::Stage::Heroku::RememberCommits
Public Instance Methods
call(env)
click to toggle source
# File lib/takeoff/stage/heroku/remember_commits.rb, line 7 def call(env) log "Fetching from server" execute "git fetch #{env[:server_remote]}" env[:deployed_commit] = latest_commit("#{env[:server_remote]}/master") env[:new_commit] = latest_commit(env[:development_branch]) @app.call(env) end