aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Sloughter <[email protected]>2015-11-19 10:29:23 -0600
committerTristan Sloughter <[email protected]>2015-11-19 10:29:23 -0600
commit8ae76495300474eaa87c22bcc254cf35245a9177 (patch)
tree665b74ccca92483f17dfa152afb1be46bb7da3f8
parent811bb9a36e27dcdc72d7f7cfea85e726f7e16ab9 (diff)
downloadrelx-8ae76495300474eaa87c22bcc254cf35245a9177.tar.gz
relx-8ae76495300474eaa87c22bcc254cf35245a9177.tar.bz2
relx-8ae76495300474eaa87c22bcc254cf35245a9177.zip
move relup successfuly created log message to after it is sucessfully written
-rw-r--r--src/rlx_prv_relup.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rlx_prv_relup.erl b/src/rlx_prv_relup.erl
index ad30914..9ac2135 100644
--- a/src/rlx_prv_relup.erl
+++ b/src/rlx_prv_relup.erl
@@ -140,9 +140,9 @@ make_upfrom_script(State, Release, UpFrom) ->
error ->
?RLX_ERROR({relup_script_generation_error, CurrentRel, UpFromRel});
{ok, RelUp, _, []} ->
- ec_cmd_log:info(rlx_state:log(State),
- "relup successfully created!"),
write_relup_file(State, Release, RelUp),
+ ec_cmd_log:info(rlx_state:log(State),
+ "relup successfully created!"),
{ok, State};
{ok,_, Module,Warnings} ->
?RLX_ERROR({relup_script_generation_warn, Module, Warnings});