Commit 5c0d0529 by Szeberényi Imre

Fured fix3

parent ae4a3d82
...@@ -685,14 +685,10 @@ def get_driver_version(): ...@@ -685,14 +685,10 @@ def get_driver_version():
["git", "config", "--get", "remote.origin.url"], ["git", "config", "--get", "remote.origin.url"],
cwd=cwd, text=True cwd=cwd, text=True
).strip() ).strip()
path = repo_url.split("://", 1)[-1]
path = path.split("/", 1)[-1]
parts = path.split("/")
return { return {
"group": parts[0],
"branch": branch, "branch": branch,
"commit": commit[:7], "commit": repo_url + " - " + commit[:7],
"commit_text": commit_text, "commit_text": commit_text,
"is_dirty": is_dirty, "is_dirty": is_dirty,
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment