From d97b9fbe17d232079ff9070e0b2dd226840f17e0 Mon Sep 17 00:00:00 2001 From: Amir MOHAMMADI <amir.mohammadi@idiap.ch> Date: Wed, 11 Jan 2017 13:16:05 +0100 Subject: [PATCH] Update update_feedstock.py - create merge request in bob.conda --- gitlab/update_feedstock.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gitlab/update_feedstock.py b/gitlab/update_feedstock.py index c824c8a..460fd47 100755 --- a/gitlab/update_feedstock.py +++ b/gitlab/update_feedstock.py @@ -207,8 +207,8 @@ def main(package, direct_push=False): run_commands(['git', 'push', '--force', '--set-upstream', 'origin', branch_name]) gitlab = Gitlab(os.environ.get('GITLAB_API_TOKEN')) - project_id = gitlab.get_project(package)['id'] - title = 'Update to version {}'.format(branch_name) + project_id = gitlab.get_project('bob.conda')['id'] + title = 'Update-to-version-{}'.format(branch_name) gitlab.create_merge_request(project_id, branch_name, 'master', title, remove_source_branch='true') finally: -- GitLab