From 176b0cba2e226fcf061bcb9e80017025801c4748 Mon Sep 17 00:00:00 2001 From: Nicolas Arenas Date: Wed, 20 Nov 2024 14:00:50 +0100 Subject: [PATCH] Adjust release parameter --- component-installer/component-installer.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/component-installer/component-installer.sh b/component-installer/component-installer.sh index d0e104f..9d31349 100644 --- a/component-installer/component-installer.sh +++ b/component-installer/component-installer.sh @@ -62,7 +62,7 @@ EOF function install_oggui_docker() { # Sacar la IP del ogCore de la configuración - oggui_version=$(jq -r '.container_version' /opt/opengnsys/ogGui/installer/config.json) + oggui_version=$(jq -r '.release' /opt/opengnsys/ogGui/installer/config.json) # Exportar los valores como variables de entorno ENV_DIR=/opt/opengnsys/ogGui/etc/ ENV_FILE=$ENV_DIR/.env @@ -117,8 +117,8 @@ do case $component in ogCore) echo "Instalando ogCore..." - OGCORE_BRANCH=$(jq -r '.container_version' /opt/opengnsys/ogCore/installer/config.json) - container_version=$(jq -r '.container_version' /opt/opengnsys/ogCore/installer/config.json) + OGCORE_BRANCH=$(jq -r '.release' /opt/opengnsys/ogCore/installer/config.json) + container_version=$(jq -r '.release' /opt/opengnsys/ogCore/installer/config.json) git_checkout_release "$OGCORE_REPO" "$component_dir/repo" "$OGCORE_BRANCH" cp $component_dir/repo/.env $component_dir/etc/ cp $component_dir/repo/env.json $component_dir/etc/