Skip to content

Commit

Permalink
Merge pull request #7 from jostar-y/master
Browse files Browse the repository at this point in the history
fix: the generated tar package does not include the lib files
  • Loading branch information
zhongwencool authored Jan 8, 2024
2 parents 5b0dcaf + 959d90b commit 39d7d02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/emqx_plugrel.erl
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ do(State) ->
[Rel] ->
Name = rlx_release:name(Rel),
Version = rlx_release:vsn(Rel),
Apps = [App || {App, _} <- rlx_release:app_specs(Rel)],
Apps = [App || {App, _} <- rlx_release:goals(Rel)],
PluginInfo = rebar_opts:get(Opts, emqx_plugrel),
Info = collect_info(PluginInfo, Name, Version, Apps, State),
ok = make_tar(Info, State);
Expand Down Expand Up @@ -80,7 +80,7 @@ cmd_oneline_output(Cmd) ->
{ok, Line} ->
bin(rebar_string:trim(Line, trailing, "\n"));
{error, {Rc, Output}} ->
?LOG(debug, "failed_run_cmd ~s~n, error=~p~noutput:~n~ts~n", [Rc, Output]),
?LOG(debug, "failed_run_cmd ~s~n, error=~p~noutput:~n~ts~n", [Cmd, Rc, Output]),
error
end.

Expand Down

0 comments on commit 39d7d02

Please sign in to comment.