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: