From e1e17b3bfec22e4748e9b014414235f8e0441b17 Mon Sep 17 00:00:00 2001 From: jaymode Date: Tue, 22 Nov 2016 14:39:59 -0500 Subject: [PATCH] Fix get-bwc-version for 2.x releases --- dev-tools/get-bwc-version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-tools/get-bwc-version.py b/dev-tools/get-bwc-version.py index 4ef9736ea06..ba7df263d96 100644 --- a/dev-tools/get-bwc-version.py +++ b/dev-tools/get-bwc-version.py @@ -64,7 +64,7 @@ def main(): if c.version == '1.2.0': # 1.2.0 was pulled from download.elasticsearch.org because of routing bug: url = 'http://central.maven.org/maven2/org/elasticsearch/elasticsearch/1.2.0/%s' % filename - elif c.version.startswith('0.') or c.version.startswith('1.'): + elif c.version.startswith('0.') or c.version.startswith('1.') or c.version.startswith('2.'): url = 'https://download.elasticsearch.org/elasticsearch/elasticsearch/%s' % filename else: url = 'https://artifacts.elastic.co/downloads/elasticsearch/%s' % filename