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

Update update_feedstock.py - use idiapbbb account to push

parent 0c42d632
No related branches found
No related tags found
No related merge requests found
...@@ -202,6 +202,8 @@ def main(package, direct_push=False): ...@@ -202,6 +202,8 @@ def main(package, direct_push=False):
'https://github.com/conda-forge/' 'https://github.com/conda-forge/'
'{}-feedstock/commits/master\n\n'.format(package)) '{}-feedstock/commits/master\n\n'.format(package))
else: else:
subprocess.call(['git', 'remote', 'set-url', 'origin',
'https://idiapbbb:{}@gitlab.idiap.ch/bob/bob.conda.git'.format(os.environ.get('IDIAPBBB_PASS'))])
run_commands(['git', 'push', '--force', '--set-upstream', run_commands(['git', 'push', '--force', '--set-upstream',
'origin', branch_name]) 'origin', branch_name])
gitlab = Gitlab(os.environ.get('GITLAB_API_TOKEN')) gitlab = Gitlab(os.environ.get('GITLAB_API_TOKEN'))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment