Browse Source

Don't expect to include Python ReadTheDocs metadata in the distribution.

David L. Jones 5 years ago
parent
commit
f130827371
1 changed files with 2 additions and 1 deletions
  1. 2 1
      tests.sh

+ 2 - 1
tests.sh

@@ -63,7 +63,8 @@ build_cpp_distcheck() {
   # List all files that should be included in the distribution package.
   git ls-files | grep "^\(java\|python\|objectivec\|csharp\|js\|ruby\|php\|cmake\|examples\|src/google/protobuf/.*\.proto\)" |\
     grep -v ".gitignore" | grep -v "java/compatibility_tests" | grep -v "java/lite/proguard.pgcfg" |\
-    grep -v "python/compatibility_tests" | grep -v "python/docs" | grep -v "csharp/compatibility_tests" > dist.lst
+    grep -v "python/compatibility_tests" | grep -v "python/docs" | grep -v "python/.repo-metadata.json" |\
+    grep -v "csharp/compatibility_tests" > dist.lst
   # Unzip the dist tar file.
   DIST=`ls *.tar.gz`
   tar -xf $DIST