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