when rebar3 release (or rebar3 tar) is executed with command line arguments --vm_args --sys_config --include_erts or --system_libs; the value provided on the command line is ignored unless the setting to be overriden is in relx config.
code responsible for this:
|
replace_all_instance(Opt, Value, RelxConfig) -> |
|
lists:map(fun({K, _}) when K =:= Opt -> {K, Value}; |
|
(Other) -> Other end, RelxConfig). |
|
|
introduced in #2695