From 6d17765ca4f3f646f85c38e15761c7bdfbfe3973 Mon Sep 17 00:00:00 2001 From: Steve Springett Date: Fri, 7 Jun 2019 00:49:04 -0500 Subject: [PATCH] Added error code checking on each mvn package step --- release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release.sh b/release.sh index 88ce8b469..635c1a7cc 100755 --- a/release.sh +++ b/release.sh @@ -31,7 +31,7 @@ fi # Default build produces traditional war. Exit on failure. mvn clean package -if [[ "$?" -ne 0 ]] ; the +if [[ "$?" -ne 0 ]] ; then echo 'Aborting release due to build failure'; exit $rc fi # Build embedded Jetty distribution. Exit on failure