Management script does cd "$RELEASE_ROOT_DIR"
#682
Labels
bug:unexpected behaviour
Technically not a bug, but behavior is surprising so should be treated like one
deployment:scripts
Anything to do with the management scripts
feature:requested
Feature requests
Steps to reproduce
Description of issue
I found it inconvenient that when running the release management script commands which take a path as an argument (e.g. the
eval
or a custom one), that the path is interpreted as relative to theRELEASE_ROOT_DIR
. It is counter-intuitive for the end user of the management script commands as he has to know that the relative path is treated that way or to use absolute path.I'm not yet sure about the motivation why the
_build/prod/rel/<name>/releases/<version>/myapp.sh
does cd into the release root nor what are the implications of not doing so. The source code in question is in priv/templates/release_rc_main.eexDistillery: 2.0.14
Erlang: 21.1.1
OS: Linux
The text was updated successfully, but these errors were encountered: