Do not override RELEASE_DISTRIBUTION in release to allow rpc (#2922)

This commit is contained in:
Jonatan Kłosko 2025-01-30 19:31:57 +01:00 committed by GitHub
parent f3ec12d3d9
commit cbe209adf5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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"

View file

@ -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!

View file

@ -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