Download tgz

This commit is contained in:
alesapin 2021-11-11 18:20:10 +03:00
parent 3a6857e106
commit 5046b39d58

View File

@ -102,7 +102,7 @@ def dowload_build_with_progress(url, path):
def download_builds(result_path, build_urls):
for url in build_urls:
if url.endswith('.deb'):
if url.endswith('.tgz'):
fname = os.path.basename(url)
logging.info("Will download %s to %s", fname, result_path)
dowload_build_with_progress(url, os.path.join(result_path, fname))