Only set RELEASE_NODE if not set (#1396)

This commit is contained in:
Marcin Operacz 2022-09-09 04:27:26 +08:00 committed by GitHub
parent 73dc1c98d4
commit 7175ad314e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
set RELEASE_NODE=livebook_server
if not defined RELEASE_NODE set RELEASE_NODE=livebook_server
set RELEASE_MODE=interactive
set cookie_path="!RELEASE_ROOT!\releases\COOKIE"

View file

@ -1,4 +1,4 @@
export RELEASE_NODE=livebook_server
export RELEASE_NODE="${RELEASE_NODE:-livebook_server}"
export RELEASE_MODE=interactive
cookie_path="${RELEASE_ROOT}/releases/COOKIE"