Browse Source

Fix get-bwc-version for 2.x releases

jaymode 9 years ago
parent
commit
e1e17b3bfe
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dev-tools/get-bwc-version.py

+ 1 - 1
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