Skip check for miniforge version 4.13.0-0

We always detect missing build scripts for `4.13.0-0` because the
release[^1] doesn't have any mambaforge artifacts. Given that we've
already created the build files, we don't need to check the release
again.

[^1]: https://github.com/conda-forge/miniforge/releases/tag/4.13.0-0
This commit is contained in:
Alex Hedges 2024-02-24 21:55:22 -05:00
parent a43259a186
commit dbbe2b63f4

View file

@ -100,6 +100,11 @@ for release in requests.get(f'https://api.github.com/repos/{MINIFORGE_REPO}/rele
logger.info('Looking for %(version)s in %(out_dir)s', locals())
# Release has no mambaforge artifacts, which causes the next check to always trigger
# Build scripts have already been generated, so safe to skip this version
if version == '4.13.0-0':
continue
if any(not list(out_dir.glob(f'{distribution}*-{version}')) for distribution in DISTRIBUTIONS):
logger.info('Downloading %(version)s', locals())
add_version(release)