From 877363bf4f7a2838c5661cec81ffe8f8c529bcdc Mon Sep 17 00:00:00 2001 From: phartenfeller Date: Fri, 28 Jul 2023 10:05:54 +0200 Subject: [PATCH] Exit on error in versions match --- test/versions-match.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/versions-match.sh b/test/versions-match.sh index 18459ac..a991c89 100755 --- a/test/versions-match.sh +++ b/test/versions-match.sh @@ -15,4 +15,6 @@ if [ "$DOCKERFILE_VERSION" = "$PACKAGE_JSON_VERSION" ]; then echo "Versions match: $DOCKERFILE_VERSION" else echo "Versions do not match. Dockerfile version: $DOCKERFILE_VERSION, package.json version: $PACKAGE_JSON_VERSION" + # Exit with error + exit 1 fi