From f16bd162836123825f606eb411ce0beb50a11cac Mon Sep 17 00:00:00 2001 From: SWHL Date: Tue, 3 Dec 2024 22:41:38 +0800 Subject: [PATCH] chore(rapidocr_onnxruntime): fix error of getting version number --- python/setup_onnxruntime.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/setup_onnxruntime.py b/python/setup_onnxruntime.py index e8443a567..e9572e9d8 100644 --- a/python/setup_onnxruntime.py +++ b/python/setup_onnxruntime.py @@ -28,7 +28,7 @@ def get_readme(): obtainer = GetPyPiLatestVersion() latest_version = obtainer(MODULE_NAME) -VERSION_NUM = obtainer.version_add_one(latest_version) +VERSION_NUM = obtainer.version_add_one(latest_version, add_patch=True) if len(sys.argv) > 2: match_str = " ".join(sys.argv[2:])