From a841322eacaf689b70e389e42e8447f82b59c171 Mon Sep 17 00:00:00 2001 From: Pratik Vyas Date: Thu, 9 Apr 2015 16:27:30 +0530 Subject: [PATCH] Fix release --- bench/release.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bench/release.py b/bench/release.py index 7dc4ca41..73b287df 100644 --- a/bench/release.py +++ b/bench/release.py @@ -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)