Skip to content

Commit 8015290

Browse files
authored
Merge pull request tobami#260 from ctk21/feature/ctk21/github_tag_fix
Return empty string from github commits
2 parents b3c2ac1 + 454be91 commit 8015290

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

codespeed/commits/github.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ def retrieve_tag(commit_id, username, project):
7171
if tag['object']['sha'] == commit_id:
7272
return tag['ref'].split("refs/tags/")[-1]
7373

74+
return ""
75+
7476

7577
def retrieve_revision(commit_id, username, project, revision=None):
7678
commit_url = 'https://api.github.com/repos/%s/%s/git/commits/%s' % (

0 commit comments

Comments
 (0)