2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-11 15:51:03 +00:00

Fix release

This commit is contained in:
Pratik Vyas 2015-04-09 16:27:30 +05:30
parent cd20389e15
commit a841322eac

View File

@ -150,8 +150,8 @@ def bump(repo, bump_type, develop='develop', master='master', remote='upstream')
assert bump_type in ['minor', 'major', 'patch']
new_version = bump_repo(repo, bump_type, develop=develop, master=master, remote=remote)
commit_changes(repo, new_version)
tag_name = create_release(repo, new_version)
push_release(repo)
tag_name = create_release(repo, new_version, develop_branch=develop, master_branch=master)
push_release(repo, develop_branch=develop, master_branch=master)
create_github_release('frappe', repo, tag_name, '')
print 'Released {tag} for {repo}'.format(tag=tag_name, repo=repo)