Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_parse_git_version failes on curtain strings #8

Open
Roman-Bober opened this issue Apr 30, 2020 · 0 comments
Open

_parse_git_version failes on curtain strings #8

Roman-Bober opened this issue Apr 30, 2020 · 0 comments

Comments

@Roman-Bober
Copy link

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant