This fixes the manual devrel generation by getting output-dir and overlay_vars working correctly.
output-dir is fixed by making the rebar3_cuttlefish plugin aware of the -o or --output-dir switches - previously it wasn't, so the default conf generation (riak.conf) was placed in the normal output directory underneath the profile directory.
overlay_vars seems to have some kind of bug in rebar3, so I've moved the overlay_vars from the default relx release in rebar.config into profiles - prod and dev.
This fixes the manual devrel generation by getting output-dir and overlay_vars working correctly.
output-dir is fixed by making the rebar3_cuttlefish plugin aware of the -o or --output-dir switches - previously it wasn't, so the default conf generation (riak.conf) was placed in the normal output directory underneath the profile directory.
overlay_vars seems to have some kind of bug in rebar3, so I've moved the overlay_vars from the default relx release in rebar.config into profiles - prod and dev.