Fix get-bwc-version for 2.x releases

This commit is contained in:
jaymode 2016-11-22 14:39:59 -05:00
parent 9dc65037bc
commit e1e17b3bfe
No known key found for this signature in database
GPG Key ID: D859847567B3493D
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ def main():
if c.version == '1.2.0': if c.version == '1.2.0':
# 1.2.0 was pulled from download.elasticsearch.org because of routing bug: # 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 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 url = 'https://download.elasticsearch.org/elasticsearch/elasticsearch/%s' % filename
else: else:
url = 'https://artifacts.elastic.co/downloads/elasticsearch/%s' % filename url = 'https://artifacts.elastic.co/downloads/elasticsearch/%s' % filename