Skip to content

Apache Lucene open-source search software

LUCENE-8579: Don't run bad apples when building a release.

Adrien Grandc074b97e79ff
diff --git a/dev-tools/scripts/buildAndPushRelease.py b/dev-tools/scripts/buildAndPushRelease.py
index 5a8f5cccb8e..98547c4aa31 100644
--- a/dev-tools/scripts/buildAndPushRelease.py
+++ b/dev-tools/scripts/buildAndPushRelease.py
@@ -105,8 +105,8 @@ def prepare(root, version, gpgKeyID, gpgPassword):
print(' Check DOAP files')
checkDOAPfiles(version)
- print(' ant clean test validate documentation-lint')
- run('ant clean test validate documentation-lint')
+ print(' ant -Dtests.badapples=false clean test validate documentation-lint')
+ run('ant -Dtests.badapples=false clean test validate documentation-lint')
open('rev.txt', mode='wb').write(rev.encode('UTF-8'))