This website works better with JavaScript.
Home
Help
Sign In
ben
/
earwigbot
mirror of
https://github.com/earwig/earwigbot
Watch
1
Star
1
Fork
0
Code
Releases
4
Activity
Browse Source
Tweak git version form a bit.
tags/v0.2
Ben Kurtovic
10 years ago
parent
96631e25f4
commit
a68bebc43c
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
earwigbot/__init__.py
+ 1
- 1
earwigbot/__init__.py
View File
@@ -45,7 +45,7 @@ if not __release__:
commit_id = Repo(path).head.object.hexsha
return commit_id[:8]
try:
__version__ += "
.git+
" + _get_git_commit_id()
__version__ += "
+git-
" + _get_git_commit_id()
except Exception:
pass
finally:
Write
Preview
Loading…
Cancel
Save