Skip to content

Commit

Permalink
Modified default developement version from dev to dev0
Browse files Browse the repository at this point in the history
  • Loading branch information
themarpe committed Aug 21, 2023
1 parent dd49203 commit efcbd7d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions find_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
def get_version_from_cmake_lists(path):
with open(path, 'r') as file:
content = file.read()
match = re.search(cmake_lists_txt_version_pattern, content, flags=re.IGNORECASE)
match = re.search(cmake_lists_txt_version_pattern, content, flags=re.IGNORECASE)
ver1 = match.group('ver1')
ver2 = match.group('ver2')
version = ver1
Expand All @@ -21,7 +21,7 @@ def get_version_from_cmake_lists(path):
return version

def get_package_version():

version_core = '0.0.0'
version_revision = '0'
version_core = get_version_from_cmake_lists(version_depthai_core_path)
Expand All @@ -32,4 +32,4 @@ def get_package_version():


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

0 comments on commit efcbd7d

Please sign in to comment.