(slug, token, tag_name, body)
| 29 | |
| 30 | |
| 31 | def 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 | |
| 38 | def parse_changelog(tag_name): |