Skip to content

Comments

release: filter and prepend 'mode' in relx config#2990

Closed
sg2342 wants to merge 1 commit intoerlang:mainfrom
sg2342:fix2853
Closed

release: filter and prepend 'mode' in relx config#2990
sg2342 wants to merge 1 commit intoerlang:mainfrom
sg2342:fix2853

Conversation

@sg2342
Copy link
Contributor

@sg2342 sg2342 commented Jan 30, 2026

since rlx_config:to_state/1 and rlx_config:load/2 will override any previously set 'include_src', 'debug_info' and 'include_erts' when {mod,dev|prod|minimal} is set:

put {mode, ...} elements first in the relx configuration.

fix #2853

since rlx_config:to_state/1 and rlx_config:load/2 will override
any previously set 'include_src', 'debug_info' and 'include_erts'
when {mod,dev|prod|minimal} is set:

put {mode, ...} elements first in the relx configuration.

fix erlang#2853
@sg2342 sg2342 closed this Jan 31, 2026
@sg2342
Copy link
Contributor Author

sg2342 commented Jan 31, 2026

see: erlware/relx#960

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

{mode, ...} overrides variables explicitly set in the profile

1 participant