aboutsummaryrefslogtreecommitdiffstats
path: root/version-manifest/src/main/scripts/compare-docker-manifests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'version-manifest/src/main/scripts/compare-docker-manifests.sh')
-rwxr-xr-xversion-manifest/src/main/scripts/compare-docker-manifests.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/version-manifest/src/main/scripts/compare-docker-manifests.sh b/version-manifest/src/main/scripts/compare-docker-manifests.sh
index 86f8221e9..73591326b 100755
--- a/version-manifest/src/main/scripts/compare-docker-manifests.sh
+++ b/version-manifest/src/main/scripts/compare-docker-manifests.sh
@@ -18,8 +18,8 @@ for line in $(join -t, $1 $2 | tail -n +2); do
release=$(echo $line | cut -d , -f 2)
staging=$(echo $line | cut -d , -f 3)
- if [[ "${staging}_" < "${release}_" ]]; then
- echo "[WARNING] $image:$staging is older than $release."
+ if [[ "${staging//./-}_" < "${release//./-}_" ]]; then
+ echo "[ERROR] $image:$staging is out-of-date vs. release ($release)."
fi
done
exit $err