From 781a1243c4992373d47d6aa7b962f4b4a6de0b7e Mon Sep 17 00:00:00 2001 From: Gary Wu Date: Wed, 15 May 2019 21:39:54 -0700 Subject: Bump out-of-date staging images to release version Change-Id: Icd22aca66c6caa919dc9a7a441c4abf92efde5bb Issue-ID: INT-1055 Signed-off-by: Gary Wu --- version-manifest/src/main/scripts/compare-docker-manifests.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'version-manifest/src/main/scripts') diff --git a/version-manifest/src/main/scripts/compare-docker-manifests.sh b/version-manifest/src/main/scripts/compare-docker-manifests.sh index 73591326b..875368506 100755 --- a/version-manifest/src/main/scripts/compare-docker-manifests.sh +++ b/version-manifest/src/main/scripts/compare-docker-manifests.sh @@ -20,6 +20,9 @@ for line in $(join -t, $1 $2 | tail -n +2); do if [[ "${staging//./-}_" < "${release//./-}_" ]]; then echo "[ERROR] $image:$staging is out-of-date vs. release ($release)." + + # Uncomment the following to update the staging manifest with the release version + # sed -i "s|$image,.*|$image,$release|g" $2 fi done exit $err -- cgit 1.2.3-korg