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:08 UTC

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

Repository: lucene-solr
Updated Branches:
  refs/heads/branch_6x 376495987 -> 4d879178c


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/4d879178
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/4d879178
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/4d879178

Branch: refs/heads/branch_6x
Commit: 4d879178c094e417f02c5abfa048c50f6d6e7c03
Parents: 3764959
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:31:54 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/4d879178/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():