This is an automated email from the ASF dual-hosted git repository.

colegreer pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


The following commit(s) were added to refs/heads/master by this push:
     new 2e549e2e82 CTR Fix validate-distribution.sh
2e549e2e82 is described below

commit 2e549e2e8249c44859845c37dd8f016d44a74623
Author: Cole-Greer <[email protected]>
AuthorDate: Mon Jul 31 20:51:18 2023 -0700

    CTR Fix validate-distribution.sh
    
    Some of the docs images were moved to new locations which broke the
    binary file check in validate-distribution.sh.
    
    I will follow up with a new 3.7.0 release commit
---
 bin/validate-distribution.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/bin/validate-distribution.sh b/bin/validate-distribution.sh
index 730584218c..7c5c3ee851 100755
--- a/bin/validate-distribution.sh
+++ b/bin/validate-distribution.sh
@@ -140,8 +140,9 @@ if [ "${TYPE}" = "SOURCE" ]; then
 cd ${DIR_NAME}
 echo -n "* checking source files ... "
 find . -type f | xargs -n1 -I {} file {} --mime | grep 'charset=binary' | cut 
-f1 -d: |
-  grep -Pv 
'^\./docs/(static|(site/home))/(img|images|fonts)/((icons|logos|policy|resources|providers|community|use-cases|gremlin|download)/)?[^/]*\.(png|jpg|ico|pdf|eot|otf|woff|woff2|ttf)$'
 |
+  grep -Pv 
'^\./docs/(static|(site/home))/(img|images|fonts)/((icons|logos|policy|resources|providers|community|use-cases|gremlin|download|social)/)?[^/]*\.(png|jpg|ico|pdf|eot|otf|woff|woff2|ttf)$'
 |
   grep -Pv '^\./docs/gremlint/(src|public)/[^/]*\.(png|jpg|ico)$' |
+  grep -Pv '^\./docs/original/(ai/)?[^/]*\.(png|jpg|ico|ai)$' |
   grep -Pv '^./gremlin-dotnet/src/images/[^/]*\.(png|ico)$' |
   grep -Pv '^./gremlin-dotnet/.*\.snk$' |
   grep -Pv '^./gremlin-server/src/test/resources/[^/]*\.(p12|jks)$' |

Reply via email to