mirror of https://github.com/apache/lucene.git
SOLR-4677: stop adding obsolete '-Dspecversion=...' to 'ant prepare-release' cmds
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1505776 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a17ba3674e
commit
36c653aa37
|
@ -115,7 +115,7 @@ def prepare(root, version, gpgKeyID, gpgPassword, doTest):
|
|||
|
||||
print(' lucene prepare-release')
|
||||
os.chdir('lucene')
|
||||
cmd = 'ant -Dversion=%s -Dspecversion=%s' % (version, version)
|
||||
cmd = 'ant -Dversion=%s' % version
|
||||
if gpgKeyID is not None:
|
||||
cmd += ' -Dgpg.key=%s prepare-release' % gpgKeyID
|
||||
else:
|
||||
|
@ -128,7 +128,7 @@ def prepare(root, version, gpgKeyID, gpgPassword, doTest):
|
|||
|
||||
print(' solr prepare-release')
|
||||
os.chdir('../solr')
|
||||
cmd = 'ant -Dversion=%s -Dspecversion=%s' % (version, version)
|
||||
cmd = 'ant -Dversion=%s' % version
|
||||
if gpgKeyID is not None:
|
||||
cmd += ' -Dgpg.key=%s prepare-release' % gpgKeyID
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue