This commit is contained in:
envolution 2024-11-20 00:24:06 -05:00
parent 0e8e68a5fb
commit 98e5aa4742

View file

@ -4,6 +4,7 @@ from urllib.parse import urlencode
from typing import List, Tuple, Union, Optional from typing import List, Tuple, Union, Optional
import asyncio import asyncio
import aiohttp import aiohttp
import prettyprint
import structlog import structlog
from nvchecker.api import ( from nvchecker.api import (
@ -236,6 +237,7 @@ async def get_version_real(
use_max_tag = conf.get('use_max_tag', False) use_max_tag = conf.get('use_max_tag', False)
if use_max_tag: if use_max_tag:
refs = repo_data['refs']['edges'] refs = repo_data['refs']['edges']
logger.warning(f"{refs}")
tags: List[Union[str, RichResult]] = [ tags: List[Union[str, RichResult]] = [
RichResult( RichResult(
version=ref['node']['name'], version=ref['node']['name'],