Skip to content

Commit

Permalink
Merge pull request #10 from jostar-y/master
Browse files Browse the repository at this point in the history
fix: the compressed package contains multiple duplicate files
  • Loading branch information
zmstone authored May 12, 2024
2 parents de09131 + fd4c8b1 commit cc80ba9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/emqx_plugrel.erl
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ make_tar(#{name := Name, rel_vsn := Vsn, rel_apps := Apps} = Info, State) ->
end.

do_make_tar(Cwd, NameWithVsn) ->
Files = filelib:wildcard(NameWithVsn ++ "/**"),
Files = filelib:wildcard(NameWithVsn ++ "/*"),
TarFile = NameWithVsn ++ ".tar.gz",
FullName = filename:join([Cwd, TarFile]),
?LOG(info, "Trying create ~ts", [FullName]),
Expand Down

0 comments on commit cc80ba9

Please sign in to comment.