mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-09-05 20:44:30 +08:00
Do not override RELEASE_DISTRIBUTION in release to allow rpc (#2922)
This commit is contained in:
parent
f3ec12d3d9
commit
cbe209adf5
4 changed files with 4 additions and 4 deletions
|
@ -3,7 +3,7 @@ if exist "!USERPROFILE!\.livebookdesktop.bat" (
|
|||
)
|
||||
|
||||
set RELEASE_MODE=interactive
|
||||
set RELEASE_DISTRIBUTION=none
|
||||
if not defined RELEASE_DISTRIBUTION set RELEASE_DISTRIBUTION=none
|
||||
|
||||
set vendor_dir=!RELEASE_ROOT!\vendor\livebook-!RELEASE_VSN!
|
||||
set MIX_ARCHIVES=!vendor_dir!\archives
|
||||
|
|
|
@ -3,7 +3,7 @@ if [ -f "$HOME/.livebookdesktop.sh" ]; then
|
|||
fi
|
||||
|
||||
export RELEASE_MODE="interactive"
|
||||
export RELEASE_DISTRIBUTION="none"
|
||||
if [ -z "${RELEASE_DISTRIBUTION}" ]; then export RELEASE_DISTRIBUTION="none"; fi
|
||||
|
||||
vendor_dir="${RELEASE_ROOT}/vendor/livebook-${RELEASE_VSN}"
|
||||
export MIX_ARCHIVES="${vendor_dir}/archives"
|
||||
|
|
|
@ -3,7 +3,7 @@ if exist "!RELEASE_ROOT!\user\env.bat" (
|
|||
)
|
||||
|
||||
set RELEASE_MODE=interactive
|
||||
set RELEASE_DISTRIBUTION=none
|
||||
if not defined RELEASE_DISTRIBUTION set RELEASE_DISTRIBUTION=none
|
||||
|
||||
if defined LIVEBOOK_NODE set RELEASE_NODE=!LIVEBOOK_NODE!
|
||||
if defined LIVEBOOK_COOKIE set RELEASE_COOKIE=!LIVEBOOK_COOKIE!
|
||||
|
|
|
@ -19,7 +19,7 @@ if [ -f "${RELEASE_ROOT}/user/env.sh" ]; then
|
|||
fi
|
||||
|
||||
export RELEASE_MODE="interactive"
|
||||
export RELEASE_DISTRIBUTION="none"
|
||||
if [ -z "${RELEASE_DISTRIBUTION}" ]; then export RELEASE_DISTRIBUTION="none"; fi
|
||||
|
||||
# Mirror these values, so that it is easier to use "bin/release rpc",
|
||||
# though it still requires setting RELEASE_DISTRIBUTION=name
|
||||
|
|
Loading…
Add table
Reference in a new issue