[HUDI-710] Fixing failure in Staging Validation Script (#1403)
This commit is contained in:
committed by
GitHub
parent
14323cb100
commit
23afe7a487
@@ -97,7 +97,7 @@ cd hudi-${RELEASE_VERSION}-incubating-rc${RC_NUM}
|
||||
|
||||
### BEGIN: Binary Files Check
|
||||
echo "Checking for binary files in source release"
|
||||
numBinaryFiles=`find . -iname '*' | xargs -I {} file -I {} | grep -va directory | grep -va 'text/' | grep -va 'application/xml' | wc -l | sed -e s'/ //g'`
|
||||
numBinaryFiles=`find . -iname '*' | xargs -I {} file -I {} | grep -va directory | grep -va 'text/' | grep -va 'application/xml' | grep -va 'application/json' | wc -l | sed -e s'/ //g'`
|
||||
|
||||
if [ "$numBinaryFiles" -gt "0" ]; then
|
||||
echo -e "There were non-text files in source release. Please check below\n"
|
||||
|
||||
Reference in New Issue
Block a user