Warn if unable to find version
This commit is contained in:
parent
cf2308cdd7
commit
2e3f4cabd8
2
abra
2
abra
@ -940,6 +940,8 @@ sub_app_deploy (){
|
|||||||
if [ "$ABRA_TYPE_VERSION" != "$deployed_version" ]; then
|
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)"
|
version_msg=" Version: $(tput setaf 2)$deployed_version -> ${ABRA_TYPE_VERSION} (digest: $deployed_digest -> ${ABRA_TYPE_DIGEST})$(tput sgr0)"
|
||||||
fi
|
fi
|
||||||
|
else
|
||||||
|
warning "Unable to detect deployed app version, please proceed with caution"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "$about_to_deploy_msg"
|
echo "$about_to_deploy_msg"
|
||||||
|
Loading…
Reference in New Issue
Block a user