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 committed Apr 4, 2024
1 parent 6fd3cbc commit 2233235
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 2233235

Please sign in to comment.