Skip to content

Commit

Permalink
chore(rapidocr_onnxruntime): fix error of getting version number
Browse files Browse the repository at this point in the history
  • Loading branch information
SWHL committed Dec 3, 2024
1 parent 9f8ece4 commit f16bd16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/setup_onnxruntime.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:])
Expand Down

0 comments on commit f16bd16

Please sign in to comment.