Warn if unable to find version

This commit is contained in:
Luke Murphy 2021-03-04 16:40:35 +01:00
parent cf2308cdd7
commit 2e3f4cabd8
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

2
abra
View File

@ -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"