Fix get-bwc-version for 5.0.0 (#21249)

5.0.0 is at artifacts.elastic.co.
This commit is contained in:
Nik Everett 2016-11-01 16:27:46 -04:00 committed by GitHub
parent b72a708c0d
commit cf6d3f7ec1
1 changed files with 5 additions and 5 deletions

View File

@ -67,7 +67,7 @@ def main():
elif c.version.startswith('0.') or c.version.startswith('1.'):
url = 'https://download.elasticsearch.org/elasticsearch/elasticsearch/%s' % filename
else:
url = 'http://download.elasticsearch.org/elasticsearch/release/org/elasticsearch/distribution/tar/elasticsearch/%s/%s' % (c.version, filename)
url = 'https://artifacts.elastic.co/downloads/elasticsearch/%s' % filename
print('Downloading %s' % url)
urllib.request.urlretrieve(url, filename)