Fix passing of version when using download_release

This commit is contained in:
IamTheFij 2023-05-22 17:05:28 -07:00
parent d6c0673a1d
commit 869b0b25b4

View File

@ -529,7 +529,7 @@ def download_release(
extract_files: list[str] | None = None,
) -> list[Path]:
"""Convenience method for fetching, downloading and extracting a release"""
release = fetch_release(remote_info)
release = fetch_release(remote_info, version=version)
asset = match_asset(
release,
format,