hudi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vinoy...@apache.org
Subject [incubator-hudi] branch master updated: [HUDI-710] Fixing failure in Staging Validation Script (#1403)
Date Sun, 15 Mar 2020 14:13:30 GMT
This is an automated email from the ASF dual-hosted git repository.

vinoyang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-hudi.git


The following commit(s) were added to refs/heads/master by this push:
     new 23afe7a  [HUDI-710] Fixing failure in Staging Validation Script (#1403)
23afe7a is described below

commit 23afe7a4872fca66d9aeb36d209c6538a17d81f1
Author: Balaji Varadarajan <varadarb@uber.com>
AuthorDate: Sun Mar 15 07:13:20 2020 -0700

    [HUDI-710] Fixing failure in Staging Validation Script (#1403)
---
 scripts/release/validate_staged_release.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/release/validate_staged_release.sh b/scripts/release/validate_staged_release.sh
index b90e5cf..4dcb9dd 100755
--- a/scripts/release/validate_staged_release.sh
+++ b/scripts/release/validate_staged_release.sh
@@ -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"


Mime
View raw message