From 7e77b64e2210d79bc6e9b469aede5941436fc8d7 Mon Sep 17 00:00:00 2001 From: AllyW Date: Thu, 19 Sep 2024 16:44:15 +0800 Subject: [PATCH] fix minor tag return (#7994) --- scripts/ci/release_version_cal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ci/release_version_cal.py b/scripts/ci/release_version_cal.py index 48af14ea3c8..da0047c1343 100644 --- a/scripts/ci/release_version_cal.py +++ b/scripts/ci/release_version_cal.py @@ -204,7 +204,7 @@ def get_next_version_segment_tag(): if VERSION_MAJOR_TAG in pr_label_list: return VERSION_MAJOR_TAG elif VERSION_MINOR_TAG in pr_label_list: - return pr_label_list + return VERSION_MINOR_TAG elif VERSION_PATCH_TAG in pr_label_list: return VERSION_PATCH_TAG elif VERSION_PRE_TAG in pr_label_list: