Skip to content

Commit

Permalink
Handle version splitting with 'local' version delimiter
Browse files Browse the repository at this point in the history
  • Loading branch information
cottsay authored and nuclearsandwich committed Nov 12, 2024
1 parent db0da74 commit 044931d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ros_buildfarm/git.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,8 @@ def get_hash(path):

def _get_version_parts():
version_parts = __version__.split('-', 1)
if len(version_parts) < 2:
version_parts = __version__.split('+', 1)
if len(version_parts) == 2:
return version_parts
return version_parts[0], None

0 comments on commit 044931d

Please sign in to comment.