From 2e3f4cabd8bc4007893d9aa035d88ab80d55a64b Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Thu, 4 Mar 2021 16:40:35 +0100 Subject: [PATCH] Warn if unable to find version --- abra | 2 ++ 1 file changed, 2 insertions(+) diff --git a/abra b/abra index d5e84ad..8020985 100755 --- a/abra +++ b/abra @@ -940,6 +940,8 @@ sub_app_deploy (){ if [ "$ABRA_TYPE_VERSION" != "$deployed_version" ]; then version_msg=" Version: $(tput setaf 2)$deployed_version -> ${ABRA_TYPE_VERSION} (digest: $deployed_digest -> ${ABRA_TYPE_DIGEST})$(tput sgr0)" fi + else + warning "Unable to detect deployed app version, please proceed with caution" fi echo "$about_to_deploy_msg"