Skip to content
Snippets Groups Projects
Commit d97b9fbe authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

Update update_feedstock.py - create merge request in bob.conda

parent a4513646
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment