| Index: tools/release/git_recipes.py
|
| diff --git a/tools/release/git_recipes.py b/tools/release/git_recipes.py
|
| index 1a57380b637f9438d93e3fb9c0be11680f503a26..89fd7c9cf663828220d35e6d720eaee2547f89c7 100644
|
| --- a/tools/release/git_recipes.py
|
| +++ b/tools/release/git_recipes.py
|
| @@ -280,3 +280,6 @@ class GitRecipesMixin(object):
|
| return match.group(1)
|
| raise GitFailedException("Couldn't determine commit position for %s" %
|
| git_hash)
|
| +
|
| + def GitGetHashOfTag(self, tag_name, **kwargs):
|
| + return self.Git("rev-list -1 " + tag_name).strip().encode("ascii", "ignore")
|
|
|