diff --git a/github/Repository.py b/github/Repository.py index 169b6c01..fb31df90 100644 --- a/github/Repository.py +++ b/github/Repository.py @@ -961,6 +961,10 @@ class Repository(github.GithubObject.CompletableGithubObject): draft=False, prerelease=False, ): + """ + Convenience function that calls :meth:`Repository.create_git_tag` and + :meth:`Repository.create_git_release`. + """ self.create_git_tag(tag, tag_message, object, type, tagger) return self.create_git_release( tag,