Skip to content

Commit

Permalink
Fix get-bwc-version for 2.x releases
Browse files Browse the repository at this point in the history
  • Loading branch information
jaymode committed Nov 22, 2016
1 parent 9dc6503 commit e1e17b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev-tools/get-bwc-version.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e1e17b3

Please sign in to comment.