@@ -58,15 +58,15 @@ def get_latest_git_tag(minor_ver_auto=False):
5858 print (e )
5959 raise
6060
61- # replace the version in chdb/__init__.py, which is `chdb_version = (0, 1, 0 )` by default
62- # regex replace the version string `chdb_version = (0, 1, 0 )` with version parts
61+ # replace the version in chdb/__init__.py, which is `chdb_version = ('0', '1', '0' )` by default
62+ # regex replace the version string `chdb_version = ('0', '1', '0' )` with version parts
6363def fix_version_init (version ):
6464 # split version string into parts
6565 p1 , p2 , p3 = version .split ('.' )
6666 init_file = os .path .join (script_dir , "chdb" , "__init__.py" )
6767 with open (init_file , "r+" ) as f :
6868 init_content = f .read ()
69- # regex replace the version string `chdb_version = (0, 1, 0 )`
69+ # regex replace the version string `chdb_version = ('0', '1', '0' )`
7070 regPattern = r"chdb_version = \(\'\d+\', \'\d+\', \'\d+\'\)"
7171 init_content = re .sub (regPattern , f"chdb_version = ('{ p1 } ', '{ p2 } ', '{ p3 } ')" , init_content )
7272 f .seek (0 )
0 commit comments