mirror of https://github.com/openspug/spug
F 修复获取github应用版本记录报错的问题
parent
72c880d852
commit
f2b40a4f54
|
@ -27,7 +27,7 @@ class Git:
|
||||||
'author': ref.tag.tagger.name,
|
'author': ref.tag.tagger.name,
|
||||||
'date': ref.tag.tagged_date,
|
'date': ref.tag.tagged_date,
|
||||||
'message': ref.tag.message.strip()
|
'message': ref.tag.message.strip()
|
||||||
}
|
} if ref.tag else {}
|
||||||
return branches, tags
|
return branches, tags
|
||||||
|
|
||||||
def _get_repo(self, git_repo, repo_dir):
|
def _get_repo(self, git_repo, repo_dir):
|
||||||
|
|
Loading…
Reference in New Issue