From 4d879178c094e417f02c5abfa048c50f6d6e7c03 Mon Sep 17 00:00:00 2001 From: Mike McCandless Date: Sat, 20 Aug 2016 04:31:14 -0400 Subject: [PATCH] allow ant 1.9.x as well --- dev-tools/scripts/buildAndPushRelease.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-tools/scripts/buildAndPushRelease.py b/dev-tools/scripts/buildAndPushRelease.py index 1deb7985de5..e34c94316d9 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():