You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ja...@apache.org on 2021/10/20 12:42:18 UTC
[lucene] branch main updated: LUCENE-10174 Speed up 'pushLocal' by
using uncompressed tar (#401)
This is an automated email from the ASF dual-hosted git repository.
janhoy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/lucene.git
The following commit(s) were added to refs/heads/main by this push:
new 5b8f0a5 LUCENE-10174 Speed up 'pushLocal' by using uncompressed tar (#401)
5b8f0a5 is described below
commit 5b8f0a5eb5e3f876607b102eb509db88de26691c
Author: Jan Høydahl <ja...@users.noreply.github.com>
AuthorDate: Wed Oct 20 14:41:24 2021 +0200
LUCENE-10174 Speed up 'pushLocal' by using uncompressed tar (#401)
---
dev-tools/scripts/buildAndPushRelease.py | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/dev-tools/scripts/buildAndPushRelease.py b/dev-tools/scripts/buildAndPushRelease.py
index a3ce1f0..b96ec30 100755
--- a/dev-tools/scripts/buildAndPushRelease.py
+++ b/dev-tools/scripts/buildAndPushRelease.py
@@ -219,15 +219,15 @@ def pushLocal(version, root, rev, rcNum, localDir):
print(' Lucene')
lucene_dist_dir = '%s/lucene/distribution/build/release' % root
os.chdir(lucene_dist_dir)
- print(' zip...')
- if os.path.exists('lucene.tar.bz2'):
- os.remove('lucene.tar.bz2')
- run('tar cjf lucene.tar.bz2 *')
+ print(' archive...')
+ if os.path.exists('lucene.tar'):
+ os.remove('lucene.tar')
+ run('tar cf lucene.tar *')
os.chdir('%s/%s/lucene' % (localDir, dir))
- print(' unzip...')
- run('tar xjf "%s/lucene.tar.bz2"' % lucene_dist_dir)
- os.remove('%s/lucene.tar.bz2' % lucene_dist_dir)
+ print(' extract...')
+ run('tar xf "%s/lucene.tar"' % lucene_dist_dir)
+ os.remove('%s/lucene.tar' % lucene_dist_dir)
os.chdir('..')
print(' chmod...')