MCPcopy Create free account
hub / github.com/pytest-dev/pytest / publish_github_release

Function publish_github_release

scripts/publish-gh-release-notes.py:31–35  ·  view source on GitHub ↗
(slug, token, tag_name, body)

Source from the content-addressed store, hash-verified

29
30
31def publish_github_release(slug, token, tag_name, body):
32 github = github3.login(token=token)
33 owner, repo = slug.split("/")
34 repo = github.repository(owner, repo)
35 return repo.create_release(tag_name=tag_name, body=body)
36
37
38def parse_changelog(tag_name):

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected