From 2233235d072e30d1abec024e3aa74cfe2574fc91 Mon Sep 17 00:00:00 2001 From: Scott K Logan Date: Thu, 4 Apr 2024 16:23:43 -0500 Subject: [PATCH] Handle version splitting with 'local' version delimiter --- ros_buildfarm/git.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ros_buildfarm/git.py b/ros_buildfarm/git.py index fa2c9a0aa..425f4876c 100644 --- a/ros_buildfarm/git.py +++ b/ros_buildfarm/git.py @@ -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