You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by mi...@apache.org on 2016/08/20 08:32:22 UTC

lucene-solr:master: allow ant 1.9.x as well

Repository: lucene-solr
Updated Branches:
  refs/heads/master b134102a9 -> ca1ce0b25


allow ant 1.9.x as well


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/ca1ce0b2
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/ca1ce0b2
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/ca1ce0b2

Branch: refs/heads/master
Commit: ca1ce0b25580665b64e6bf647986ef199825c1b9
Parents: b134102
Author: Mike McCandless <mi...@apache.org>
Authored: Sat Aug 20 04:31:14 2016 -0400
Committer: Mike McCandless <mi...@apache.org>
Committed: Sat Aug 20 04:32:13 2016 -0400

----------------------------------------------------------------------
 dev-tools/scripts/buildAndPushRelease.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/ca1ce0b2/dev-tools/scripts/buildAndPushRelease.py
----------------------------------------------------------------------
diff --git a/dev-tools/scripts/buildAndPushRelease.py b/dev-tools/scripts/buildAndPushRelease.py
index 1deb798..e34c943 100644
--- a/dev-tools/scripts/buildAndPushRelease.py
+++ b/dev-tools/scripts/buildAndPushRelease.py
@@ -218,7 +218,7 @@ def check_cmdline_tools():  # Fail fast if there are cmdline tool problems
   if os.system('git --version >/dev/null 2>/dev/null'):
     raise RuntimeError('"git --version" returned a non-zero exit code.')
   antVersion = os.popen('ant -version').read().strip()
-  if not antVersion.startswith('Apache Ant(TM) version 1.8'):
+  if not antVersion.startswith('Apache Ant(TM) version 1.8') and not antVersion.startswith('Apache Ant(TM) version 1.9'):
     raise RuntimeError('ant version is not 1.8.X: "%s"' % antVersion)
   
 def main():