Skip to content

Commit

Permalink
Fix hash
Browse files Browse the repository at this point in the history
  • Loading branch information
JohanLorenzo committed Feb 25, 2019
1 parent fd1d524 commit de0bf14
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scriptworker/github.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ def get_tag_hash(self, tag_name):
no_item_error_message='No tag "{}" exist'.format(tag_name),
too_many_item_error_message='Too many tags "{}" found'.format(tag_name),
)
return str(tag_object.commit)

return tag_object.commit.sha

async def has_commit_landed_on_repository(self, context, revision):
"""Tell if a commit was landed on the repository or if it just comes from a pull request.
Expand Down

0 comments on commit de0bf14

Please sign in to comment.