bootleg
bootleg copied to clipboard
Wrong version of release is started
This is a placeholder to track an open issue at https://github.com/bitwalker/distillery/issues/693 about Distillery not updating var/start_erl.data
, so the incorrect version of the application is started.
A workaround is to remove this file post-deploy.
# https://github.com/bitwalker/distillery/issues/693
task :clear_start_erl do
remote :app do
"rm -f var/start_erl.data"
end
end
after_task(:deploy, :clear_start_erl)