aboutsummaryrefslogtreecommitdiffstats
path: root/src/rcl_rel_discovery.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rcl_rel_discovery.erl')
-rw-r--r--src/rcl_rel_discovery.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rcl_rel_discovery.erl b/src/rcl_rel_discovery.erl
index d9012ea..6cd84f0 100644
--- a/src/rcl_rel_discovery.erl
+++ b/src/rcl_rel_discovery.erl
@@ -118,15 +118,15 @@ resolve_release(RelFile, AppMeta) ->
{ok, [{release, {RelName, RelVsn},
{erts, ErtsVsn},
Apps}]} ->
- build_release(RelName, RelVsn, ErtsVsn, Apps, AppMeta);
+ build_release(RelFile, RelName, RelVsn, ErtsVsn, Apps, AppMeta);
{ok, InvalidRelease} ->
?RCL_ERROR({invalid_release_information, InvalidRelease});
{error, Reason} ->
?RCL_ERROR({unable_to_read, RelFile, Reason})
end.
-build_release(RelName, RelVsn, ErtsVsn, Apps, AppMeta) ->
- Release = rcl_release:erts(rcl_release:new(RelName, RelVsn),
+build_release(RelFile, RelName, RelVsn, ErtsVsn, Apps, AppMeta) ->
+ Release = rcl_release:erts(rcl_release:new(RelName, RelVsn, RelFile),
ErtsVsn),
resolve_apps(Apps, AppMeta, Release, []).