Set latest_tag as a constants (#7824)

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
pull/7834/head
zhuwenxing 2021-09-13 19:35:02 +08:00 committed by GitHub
parent 2b8662a974
commit 249578bbda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ def get_tag(url):
tags = [r["name"] for r in res]
return tags
latest_tag = get_tag(milvus_dev)[1]
latest_tag = "master-latest"
latest_rc_tag = [tag for tag in sorted(get_tag(milvus)) if "rc" and "v" in tag][-1]
release_version = "-".join(latest_rc_tag.split("-")[:-2])
print(release_version)