Is there a way to get the git revision variable from Capistrano 3?
I cannot figure out how to access capistrano variables:
namespace :deploy do
after :finished, :set_current_version do
on roles(:app) do
within release_path do
execute :echo, "#{fetch(:revision_log_message)} >> public/version"
end
end
end
end
source
share