Fixed version hold output in upgrade
This commit is contained in:
parent
c0243b2080
commit
27004471d7
@ -112,7 +112,7 @@ upgrade_federated() {
|
||||
printf "\n%s %s" "$APP" "${APP_DOTS:${#APP}} "
|
||||
|
||||
if [ -f "/federated/apps/$APP/.env" ]; then
|
||||
[[ $(grep IMAGE_VERSION_HOLD /federated/apps/$APP/.env) ]] && echo -ne "\n version hold found, skipping." && continue
|
||||
[[ $(grep IMAGE_VERSION_HOLD /federated/apps/$APP/.env) ]] && echo -ne "version hold found, skipping." && continue
|
||||
[[ "$(docker container inspect -f '{{.State.Status}}' $APP 2>/dev/null)" != "running" ]] && APP_NOTRUNNING="true"
|
||||
APP_VERSION_RAW=`grep IMAGE_VERSION /federated/apps/$APP/.env | awk -F= '{ print $2 }'`
|
||||
APP_VERSION="${APP_VERSION_RAW//\"}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user