mirror of
https://github.com/runcitadel/core.git
synced 2024-12-28 15:42:59 +00:00
More preparations for branch rename
This commit is contained in:
parent
1e8e1aad8a
commit
58ddca9d09
|
@ -143,7 +143,7 @@ services:
|
|||
LND_CERT_FILE: /lnd/tls.cert
|
||||
LND_ADMIN_MACAROON_FILE: /lnd/data/chain/bitcoin/${BITCOIN_NETWORK}/admin.macaroon
|
||||
GITHUB_REPO: runcitadel/core
|
||||
GITHUB_BRANCH: ${UPDATE_CHANNEL:-"main"}
|
||||
GITHUB_BRANCH: ${UPDATE_CHANNEL:-"stable"}
|
||||
VERSION_FILE: /info.json
|
||||
UPDATE_LOCK_FILE: /statuses/update-in-progress
|
||||
BACKUP_STATUS_FILE: /statuses/backup-status.json
|
||||
|
|
4
scripts/configure
vendored
4
scripts/configure
vendored
|
@ -146,7 +146,7 @@ if os.path.isfile('../use-core-upstream') or os.path.isfile('./use-core-upstream
|
|||
|
||||
NGINX_PORT=os.environ.get('NGINX_PORT') or "80"
|
||||
NGINX_SSL_PORT=os.environ.get('NGINX_SSL_PORT') or "443"
|
||||
UPDATE_CHANNEL="main"
|
||||
UPDATE_CHANNEL="stable"
|
||||
|
||||
if reconfiguring:
|
||||
if os.path.isfile('../.citadel'):
|
||||
|
@ -174,7 +174,7 @@ if reconfiguring:
|
|||
NGINX_SSL_PORT=dotenv['NGINX_SSL_PORT']
|
||||
if NGINX_SSL_PORT == "80" and NGINX_PORT == "80":
|
||||
NGINX_SSL_PORT="443"
|
||||
if 'UPDATE_CHANNEL' in dotenv:
|
||||
if 'UPDATE_CHANNEL' in dotenv and dotenv['UPDATE_CHANNEL'] != "main":
|
||||
UPDATE_CHANNEL=dotenv['UPDATE_CHANNEL']
|
||||
else:
|
||||
# Generate RPC credentials
|
||||
|
|
|
@ -34,7 +34,7 @@ elif [[ "${1}" == "--repo" ]]; then
|
|||
update_type="repo"
|
||||
descriptor="${2}"
|
||||
if [[ "${descriptor}" != *"#"* ]]; then
|
||||
descriptor="${descriptor}#${UPDATE_CHANNEL:-"main"}"
|
||||
descriptor="${descriptor}#${UPDATE_CHANNEL:-"stable"}"
|
||||
fi
|
||||
repo="${descriptor%%#*}"
|
||||
branch="${descriptor#*#}"
|
||||
|
|
Loading…
Reference in New Issue
Block a user