mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-03 09:22:30 +08:00
[skip ci] Update codes of update file (#11497)
Signed-off-by: wangting0128 <ting.wang@zilliz.com>
This commit is contained in:
parent
3a8acb03ee
commit
3fc9983998
@ -44,13 +44,14 @@ def get_tags(url, token):
|
||||
|
||||
def get_master_tags(tags_list):
|
||||
_list = []
|
||||
tag_name = "master"
|
||||
|
||||
if not isinstance(tags_list, list):
|
||||
print("tags_list is not a list.")
|
||||
return _list
|
||||
|
||||
for tag in tags_list:
|
||||
if "master" in tag and tag != "master-latest":
|
||||
if tag_name in tag and tag != tag_name + "-latest":
|
||||
_list.append(tag)
|
||||
return _list
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user