Skip to content

Commit

Permalink
Exit on error in versions match
Browse files Browse the repository at this point in the history
  • Loading branch information
phartenfeller committed Jul 28, 2023
1 parent 96ef191 commit 877363b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/versions-match.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 877363b

Please sign in to comment.