Merge branch 'fix/release-envvars' into 'develop'

OTP releases: only set name and distribution type if not set already

See merge request pleroma/pleroma!2004
This commit is contained in:
rinpatch 2019-11-22 17:17:20 +00:00
commit 34cdbcbb64
1 changed files with 2 additions and 2 deletions

View File

@ -8,5 +8,5 @@
# fi
# Set the release to work across nodes
export RELEASE_DISTRIBUTION=name
export RELEASE_NODE=<%= @release.name %>@127.0.0.1
export RELEASE_DISTRIBUTION="${RELEASE_DISTRIBUTION:-name}"
export RELEASE_NODE="${RELEASE_NODE:-<%= @release.name %>@127.0.0.1}"