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:31:29 UTC
lucene-solr:branch_6_2: allow ant 1.9.x as well
Repository: lucene-solr
Updated Branches:
refs/heads/branch_6_2 326db813f -> 764d0f191
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/764d0f19
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/764d0f19
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/764d0f19
Branch: refs/heads/branch_6_2
Commit: 764d0f19151dbff6f5fcd9fc4b2682cf934590c5
Parents: 326db81
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:14 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/764d0f19/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():