diff options
author | Tristan Sloughter <[email protected]> | 2015-07-15 12:57:32 -0500 |
---|---|---|
committer | Tristan Sloughter <[email protected]> | 2015-07-15 12:57:46 -0500 |
commit | 15eac7dab9cfa20a3d1f23942a4a381075925260 (patch) | |
tree | 3bdd861f6c59a1ccf6715d788061cd2cc848ba20 | |
parent | a8d0e5b2ef1237d4458ee480e6294a6ea2f70d05 (diff) | |
download | relx-15eac7dab9cfa20a3d1f23942a4a381075925260.tar.gz relx-15eac7dab9cfa20a3d1f23942a4a381075925260.tar.bz2 relx-15eac7dab9cfa20a3d1f23942a4a381075925260.zip |
run overlay after release not before
-rw-r--r-- | rebar.lock | 2 | ||||
-rw-r--r-- | src/rlx_prv_assembler.erl | 5 |
2 files changed, 4 insertions, 3 deletions
@@ -1,4 +1,4 @@ [{<<"bbmustache">>,{pkg,<<"bbmustache">>,<<"1.0.3">>},0}, {<<"providers">>,{pkg,<<"providers">>,<<"1.4.1">>},0}, - {<<"erlware_commons">>,{pkg,<<"erlware_commons">>,<<"0.14.0">>},0}, + {<<"erlware_commons">>,{pkg,<<"erlware_commons">>,<<"0.15.0">>},0}, {<<"getopt">>,{pkg,<<"getopt">>,<<"0.8.2">>},0}]. diff --git a/src/rlx_prv_assembler.erl b/src/rlx_prv_assembler.erl index a3715e5..3f8a8c2 100644 --- a/src/rlx_prv_assembler.erl +++ b/src/rlx_prv_assembler.erl @@ -31,7 +31,7 @@ -include("relx.hrl"). -define(PROVIDER, release). --define(DEPS, [overlay]). +-define(DEPS, [resolve_release]). %%============================================================================ %% API @@ -40,7 +40,8 @@ init(State) -> State1 = rlx_state:add_provider(State, providers:create([{name, ?PROVIDER}, {module, ?MODULE}, - {deps, ?DEPS}])), + {deps, ?DEPS}, + {hooks, {[], [overlay]}}])), {ok, State1}. %% @doc recursively dig down into the library directories specified in the state |