mirror of https://github.com/apache/lucene.git
LUCENE-4442: No longer need to copy changes or KEYS, since they are both now handled by 'ant prepare-release' (merged lucene_solr_4_1 r1434487)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1434489 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0178e8e625
commit
e553ac693b
|
@ -133,9 +133,6 @@ def push(version, root, rev, rcNum, username):
|
||||||
print(' unzip...')
|
print(' unzip...')
|
||||||
run('ssh %s@people.apache.org "cd public_html/staging_area/%s/lucene; tar xjf lucene.tar.bz2; rm -f lucene.tar.bz2"' % (username, dir))
|
run('ssh %s@people.apache.org "cd public_html/staging_area/%s/lucene; tar xjf lucene.tar.bz2; rm -f lucene.tar.bz2"' % (username, dir))
|
||||||
os.remove('lucene.tar.bz2')
|
os.remove('lucene.tar.bz2')
|
||||||
print(' copy changes...')
|
|
||||||
os.chdir('..')
|
|
||||||
run('scp -r build/docs/changes %s@people.apache.org:public_html/staging_area/%s/lucene/changes-%s' % (username, dir, version))
|
|
||||||
|
|
||||||
print(' Solr')
|
print(' Solr')
|
||||||
os.chdir('%s/solr/package' % root)
|
os.chdir('%s/solr/package' % root)
|
||||||
|
@ -149,14 +146,6 @@ def push(version, root, rev, rcNum, username):
|
||||||
run('ssh %s@people.apache.org "cd public_html/staging_area/%s/solr; tar xjf solr.tar.bz2; rm -f solr.tar.bz2"' % (username, dir))
|
run('ssh %s@people.apache.org "cd public_html/staging_area/%s/solr; tar xjf solr.tar.bz2; rm -f solr.tar.bz2"' % (username, dir))
|
||||||
os.remove('solr.tar.bz2')
|
os.remove('solr.tar.bz2')
|
||||||
|
|
||||||
print(' KEYS')
|
|
||||||
run('wget http://people.apache.org/keys/group/lucene.asc')
|
|
||||||
os.rename('lucene.asc', 'KEYS')
|
|
||||||
run('chmod a+r-w KEYS')
|
|
||||||
run('scp KEYS %s@people.apache.org:public_html/staging_area/%s/lucene' % (username, dir))
|
|
||||||
run('scp KEYS %s@people.apache.org:public_html/staging_area/%s/solr' % (username, dir))
|
|
||||||
os.remove('KEYS')
|
|
||||||
|
|
||||||
print(' chmod...')
|
print(' chmod...')
|
||||||
run('ssh %s@people.apache.org "chmod -R a+rX-w public_html/staging_area/%s"' % (username, dir))
|
run('ssh %s@people.apache.org "chmod -R a+rX-w public_html/staging_area/%s"' % (username, dir))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue