Skip to content

Apache Lucene open-source search software

Fix buildAndPushRelease.py to echo the correct command for running smokeTester after completion

Anshum Gupta22a358ffbd5a
diff --git a/dev-tools/scripts/buildAndPushRelease.py b/dev-tools/scripts/buildAndPushRelease.py
index 6e73f8d8461..81b2aa1d971 100644
--- a/dev-tools/scripts/buildAndPushRelease.py
+++ b/dev-tools/scripts/buildAndPushRelease.py
@@ -289,7 +289,9 @@ def main():
if url is not None:
print(' URL: %s' % url)
print('Next set the PYTHON_EXEC env var and you can run the smoker tester:')
- print(' $PYTHON_EXEC %s %s' % (sys.argv[0], url))
+ p = re.compile("(.*)\/")
+ m = p.match(sys.argv[0])
+ print(' $PYTHON_EXEC %ssmokeTestRelease.py %s' % (m.group(), url))
if __name__ == '__main__':
try: