diff --git a/dev-tools/scripts/buildAndPushRelease.py b/dev-tools/scripts/buildAndPushRelease.py index af4d7b98b7d..e6a3df65950 100644 --- a/dev-tools/scripts/buildAndPushRelease.py +++ b/dev-tools/scripts/buildAndPushRelease.py @@ -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: