summaryrefslogtreecommitdiffstats
path: root/version-manifest/src/main/scripts
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2019-05-15 21:39:54 -0700
committerMarco Platania <platania@research.att.com>2019-05-16 13:52:00 +0000
commit781a1243c4992373d47d6aa7b962f4b4a6de0b7e (patch)
tree44b29024962e6e14aba4c0bcdf80dada7d9f778e /version-manifest/src/main/scripts
parent48dc6812243324d8ec45dece818fdfa2b996d094 (diff)
Bump out-of-date staging images to release version
Change-Id: Icd22aca66c6caa919dc9a7a441c4abf92efde5bb Issue-ID: INT-1055 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'version-manifest/src/main/scripts')
-rwxr-xr-xversion-manifest/src/main/scripts/compare-docker-manifests.sh3
1 files changed, 3 insertions, 0 deletions
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