summaryrefslogtreecommitdiffstats
path: root/version-manifest/src/main/scripts
diff options
context:
space:
mode:
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