소스 검색

Tweak git version form a bit.

tags/v0.2
Ben Kurtovic 12 년 전
부모
커밋
a68bebc43c
1개의 변경된 파일과 1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      earwigbot/__init__.py

+ 1
- 1
earwigbot/__init__.py 파일 보기

@@ -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:


불러오는 중...
취소
저장