Commit 39db8c4a authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

BF: Some bugs in load_previous_manifest

parent 8c6b527b
......@@ -68,10 +68,12 @@ def load_previous_manifest(release_info):
# the environment file is not available
versions = dict(manifest.get('versions', {}))
for version, builds in versions.items():
if version == 'latest':
continue
for i, build in enumerate(list(builds)):
try:
with tempdir():
download_file(build['url'], 'env.yml')
download_file(build['environment'], 'env.yml')
except Exception:
print(f'WARNING: Build environment file '
f'is not available: {build}')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment