Skip to content

Commit 9ed78de

Browse files
whatyouhideJosé Valim
authored andcommitted
Improve a comment in env.*.eex for releases (#9134)
Signed-off-by: José Valim <jose.valim@plataformatec.com.br>
1 parent e5888e7 commit 9ed78de

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

lib/mix/lib/mix/tasks/release.init.ex

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,9 @@ defmodule Mix.Tasks.Release.Init do
6666
# export ELIXIR_ERL_OPTIONS="-heart"
6767
# fi
6868
69-
# Set the release to work across nodes
69+
# Set the release to work across nodes. If using the long name format like
70+
# the one below (my_app@127.0.0.1), you need to also uncomment the
71+
# RELEASE_DISTRIBUTION variable below.
7072
# export RELEASE_DISTRIBUTION=name
7173
# export RELEASE_NODE=<%= @release.name %>@127.0.0.1
7274
"""
@@ -230,7 +232,9 @@ defmodule Mix.Tasks.Release.Init do
230232
def env_bat_text,
231233
do: ~S"""
232234
@echo off
233-
rem Set the release to work across nodes
235+
rem Set the release to work across nodes. If using the long name format like
236+
rem the one below (my_app@127.0.0.1), you need to also uncomment the
237+
rem RELEASE_DISTRIBUTION variable below.
234238
rem set RELEASE_DISTRIBUTION=name
235239
rem set RELEASE_NODE=<%= @release.name %>@127.0.0.1
236240
"""

0 commit comments

Comments
 (0)