From d7a568a34d2b645cca91841ba499f0ed908222f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ben=20H=C3=A4hlen?= Date: Mon, 4 Sep 2023 15:38:10 +0200 Subject: [PATCH] Prep 3.1.0 --- dc | 2 +- dc-completion | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dc b/dc index 0a5617b..f03252a 100755 --- a/dc +++ b/dc @@ -6,7 +6,7 @@ set -m # VERSION -export DC_VERSION=v3.1.0-dev +export DC_VERSION=v3.1.0 ###### VARIABLES if [[ -z "${DC_DIR}" ]]; then diff --git a/dc-completion b/dc-completion index 74ba8b1..4bd66a6 100755 --- a/dc-completion +++ b/dc-completion @@ -41,7 +41,7 @@ _dc_completions() ENV="${DC_DIR}/.env" DC_CMD_INIT="${DC_CMD} --env-file ${ENV}" DC_COMMAND="${DC_CMD_INIT} --env-file ${STACK}/${STACK_NAME}.env" - echo "${DC_COMMAND}" + # echo "${DC_COMMAND}" TMP_DIR="/tmp/dc_stack_services" if [ ! -d "${TMP_DIR}" ]; then # echo "${TMP_DIR} not found. Creating..." @@ -52,14 +52,14 @@ _dc_completions() if [ "$(find ${TMP_DIR}/"${STACK_NAME}" -mmin +30)" ]; then # echo "File is too old, refreshing" cd "${STACK}" || { echo "cd failed"; exit 1; } - echo "${DC_COMMAND}" + # echo "${DC_COMMAND}" ${DC_COMMAND} config --services > ${TMP_DIR}/"${STACK_NAME}" cd - > /dev/null || { echo "cd failed"; exit 1; } fi else # echo "File does not exist, creating" cd "${STACK}" || { echo "cd failed"; exit 1; } - echo "${DC_COMMAND}" + # echo "${DC_COMMAND}" ${DC_COMMAND} config --services > ${TMP_DIR}/"${STACK_NAME}" cd - > /dev/null || { echo "cd failed"; exit 1; } fi