Added version hold check in upgrade
This commit is contained in:
parent
08e80f973e
commit
7f10b96222
@ -111,6 +111,7 @@ upgrade_federated() {
|
||||
echo -ne "\n** Checking $APP.."
|
||||
|
||||
if [ -f "/federated/apps/$APP/.env" ]; then
|
||||
[[ $(grep IMAGE_VERSION_HOLD /federated/apps/$APP/.env) ]] && echo -ne "\n version hold found, skipping." && continue
|
||||
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