2
0
mirror of https://github.com/frappe/bench.git synced 2024-09-23 04:29:02 +00:00

use repo map

This commit is contained in:
Pratik Vyas 2014-09-04 15:24:41 +05:30
parent 456f79650a
commit 0e30ec02f0

View File

@ -44,6 +44,7 @@ def create_github_release(owner, repo, tag_name, log, gh_username=None, gh_passw
raise Exception, "No credentials" raise Exception, "No credentials"
gh_username = github_username gh_username = github_username
gh_password = github_password gh_password = github_password
repo = repo_map[os.path.basename(repo)]
data = { data = {
'tag_name': tag_name, 'tag_name': tag_name,
'target_commitish': 'master', 'target_commitish': 'master',