mirror of
https://github.com/lilydjwg/nvchecker.git
synced 2025-03-10 06:14:02 +00:00
bitbucket: fix not returning a list of versions when use_max_tag is set
fixes #112
This commit is contained in:
parent
6674a875bf
commit
5577e2cbd8
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ async def get_version(name, conf, **kwargs):
|
|||
if use_max_tag:
|
||||
data = [tag for tag in data if tag not in ignored_tags]
|
||||
data.sort(key=sort_version_key)
|
||||
version = data[-1]
|
||||
version = data
|
||||
else:
|
||||
version = data['values'][0]['date'].split('T', 1)[0].replace('-', '')
|
||||
return version
|
||||
|
|
Loading…
Add table
Reference in a new issue