Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merging defaults and per-release config incorrect #839

Open
tsloughter opened this issue Nov 25, 2020 · 0 comments
Open

Merging defaults and per-release config incorrect #839

tsloughter opened this issue Nov 25, 2020 · 0 comments
Labels

Comments

@tsloughter
Copy link
Member

@Taure pointed out in rebar3 slack that the config:

{relx, [{release, {myapp, "0.1.0"},
         [myapp],
         [{dev_mode, false},
          {include_erts, true},
          {extended_start_script, true}]}
       ]}.

does not work correctly, ERTS is not included in the tarball.

A config with include_erts in the top level of the relx config, like:

{relx, [{release, {myapp, "0.1.0"},
         [myapp]},
         {dev_mode, false},
         {include_erts, true},
         {extended_start_script, true}
       ]}.

does work.

So something is wrong with merging defaults (include erts is false by default) and the values set in the per-release list of configuration values -- or it is never reading those in some cases.

@tsloughter tsloughter added the bug label Nov 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant