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:
Steven Rowe 2013-07-22 19:34:43 +00:00
parent a17ba3674e
commit 36c653aa37
1 changed files with 2 additions and 2 deletions

View File

@ -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: