From c3077a99b8d10adfd897c3bc8bc629a861b56500 Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Sat, 7 Jan 2017 18:50:17 +0100 Subject: [PATCH] Add doclint check during release --- do-release.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/do-release.sh b/do-release.sh index 9a7428784d..4c15058604 100755 --- a/do-release.sh +++ b/do-release.sh @@ -113,6 +113,13 @@ if [ $? -ne 0 ]; then exit 1 fi +echo "Running doclint..." +mvn -Pdoclint javadoc:javadoc javadoc:test-javadoc +if [ $? -ne 0 ]; then + echo "Failure during doclint...." + exit 1 +fi + ( cd pmd-dist/target unzip pmd-bin-${RELEASE_VERSION}-SNAPSHOT.zip