Skip to content
This repository has been archived by the owner on May 3, 2019. It is now read-only.

Commit

Permalink
Prepare release
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinDuquesnoy committed Aug 6, 2017
1 parent 75ce0a0 commit 0eb7928
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/promotion/promote_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,9 @@ def push():
class Github:
@staticmethod
def create_release(name, description, prerelease):
gh = login('ColinDuquesnoy', 'MellowPlayer', os.environ['CHANGELOG_GITHUB_TOKEN'])
gh.create_release(name, name=name, body=description, prerelease=prerelease)
gh = login(username='ColinDuquesnoy', token=os.environ['CHANGELOG_GITHUB_TOKEN'])
repo = gh.repository('ColinDuquesnoy', 'MellowPlayer')
repo.create_release(name, name=name, body=description, prerelease=prerelease)


class Promotion:
Expand Down

0 comments on commit 0eb7928

Please sign in to comment.