Skip to content

Commit efcbd7d

Browse files
committed
Modified default developement version from dev to dev0
1 parent dd49203 commit efcbd7d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

find_version.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
def get_version_from_cmake_lists(path):
1313
with open(path, 'r') as file:
1414
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)
1616
ver1 = match.group('ver1')
1717
ver2 = match.group('ver2')
1818
version = ver1
@@ -21,7 +21,7 @@ def get_version_from_cmake_lists(path):
2121
return version
2222

2323
def get_package_version():
24-
24+
2525
version_core = '0.0.0'
2626
version_revision = '0'
2727
version_core = get_version_from_cmake_lists(version_depthai_core_path)
@@ -32,4 +32,4 @@ def get_package_version():
3232

3333

3434
def get_package_dev_version(commit_hash):
35-
return get_package_version() + ".dev+" + commit_hash
35+
return get_package_version() + ".dev0+" + commit_hash

0 commit comments

Comments
 (0)