You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by sp...@apache.org on 2022/04/05 15:05:12 UTC
[tinkerpop] 04/06: Removed check for docs - we no longer package those CTR
This is an automated email from the ASF dual-hosted git repository.
spmallette pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git
commit 1dcf0482be03a5864d44861fabf521238f1335ba
Author: Stephen Mallette <st...@amazon.com>
AuthorDate: Tue Apr 5 10:57:51 2022 -0400
Removed check for docs - we no longer package those CTR
---
bin/validate-distribution.sh | 13 -------------
1 file changed, 13 deletions(-)
diff --git a/bin/validate-distribution.sh b/bin/validate-distribution.sh
index bfd06cec00..14411e6dcd 100755
--- a/bin/validate-distribution.sh
+++ b/bin/validate-distribution.sh
@@ -118,12 +118,6 @@ done
[ ${verified} -eq 1 ] || { echo "failed"; exit 1; }
echo "OK"
-#echo -n " * MD5 checksum ... "
-#EXPECTED=`cat ${ZIP_FILENAME}.md5`
-#ACTUAL=`md5sum ${ZIP_FILENAME} | awk '{print $1}'`
-#[ "$ACTUAL" = "${EXPECTED}" ] || { echo "failed"; exit 1; }
-#echo "OK"
-
echo -n " * SHA512 checksum ... "
EXPECTED=`cat ${ZIP_FILENAME}.sha512`
ACTUAL=`sha512sum ${ZIP_FILENAME} | awk '{print $1}'`
@@ -166,14 +160,7 @@ echo "OK"
exit 0
fi
-# validate docs/ and javadocs/ directories
-echo -n "* validating ${COMPONENT}'s docs ... "
cd ${DIR_NAME}
-[ -d "docs" ] && [ -f "docs/reference/index.html" ] && [ -d "docs/images" ] || { echo "docs/ directory is incomplete or not present"; exit 1; }
-[ -d "javadocs/core" ] && [ -d "javadocs/full" ] || { echo "javadocs/ directory is incomplete or not present"; exit 1; }
-x=`find javadocs -name 'GraphTraversal.html' | wc -l`
-[[ ${x} -eq 4 ]] || { echo "${COMPONENT}'s javadocs/ directory is incomplete"; exit 1; }
-echo "OK"
echo -n "* validating ${COMPONENT}'s binaries ... "
[ -d "bin" ] || { echo "bin/ directory is not present"; exit 1; }