gitversion icon indicating copy to clipboard operation
gitversion copied to clipboard

_parse_git_version failes on curtain strings

Open Roman-Bober opened this issue 5 years ago • 0 comments

On windows 10 had issue with parsing on line

for string "before_fw_simulator_major_refactoring-361-gafb3df8" After fixing to below regex, script ran ok Please consider to update

matched = re.match("^([a-zA-Z0-9\.\-\/_]+)-([0-9]+)-g([0-9a-f]+)$", git_version_string)

Roman-Bober avatar Apr 30 '20 07:04 Roman-Bober