File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 12
12
def get_version_from_cmake_lists (path ):
13
13
with open (path , 'r' ) as file :
14
14
content = file .read ()
15
- match = re .search (cmake_lists_txt_version_pattern , content , flags = re .IGNORECASE )
15
+ match = re .search (cmake_lists_txt_version_pattern , content , flags = re .IGNORECASE )
16
16
ver1 = match .group ('ver1' )
17
17
ver2 = match .group ('ver2' )
18
18
version = ver1
@@ -21,7 +21,7 @@ def get_version_from_cmake_lists(path):
21
21
return version
22
22
23
23
def get_package_version ():
24
-
24
+
25
25
version_core = '0.0.0'
26
26
version_revision = '0'
27
27
version_core = get_version_from_cmake_lists (version_depthai_core_path )
@@ -32,4 +32,4 @@ def get_package_version():
32
32
33
33
34
34
def get_package_dev_version (commit_hash ):
35
- return get_package_version () + ".dev +" + commit_hash
35
+ return get_package_version () + ".dev0 +" + commit_hash
You can’t perform that action at this time.
0 commit comments