|
@@ -45,7 +45,7 @@ if not __release__: |
|
|
commit_id = Repo(path).head.object.hexsha |
|
|
commit_id = Repo(path).head.object.hexsha |
|
|
return commit_id[:8] |
|
|
return commit_id[:8] |
|
|
try: |
|
|
try: |
|
|
__version__ += ".git+" + _get_git_commit_id() |
|
|
|
|
|
|
|
|
__version__ += "+git-" + _get_git_commit_id() |
|
|
except Exception: |
|
|
except Exception: |
|
|
pass |
|
|
pass |
|
|
finally: |
|
|
finally: |
|
|