Skip to content

suprising command line argument behaviour of rebar3 release #2967

@sg2342

Description

@sg2342

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions