diff --git a/VERSION b/VERSION index 633becb7..1027df1b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.1.44 +1.1.45 diff --git a/lib/supavisor/hot_upgrade.ex b/lib/supavisor/hot_upgrade.ex index 5f9a316f..b291f39a 100644 --- a/lib/supavisor/hot_upgrade.ex +++ b/lib/supavisor/hot_upgrade.ex @@ -37,7 +37,7 @@ defmodule Supavisor.HotUpgrade do path = if System.get_env("DEBUG_LOAD_RUNTIME_CONFIG"), do: "config/runtime.exs", - else: "releases/#{vsn}/runtime.exs" + else: "#{System.get_env("RELEASE_ROOT")}/releases/#{vsn}/runtime.exs" if File.exists?(path) do IO.write("Loading runtime.exs from releases/#{vsn}")