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

Update update_feedstock.py - use the user id of the person who started the build

parent f56a8b02
No related branches found
No related tags found
No related merge requests found
...@@ -184,7 +184,10 @@ def main(package, direct_push=False): ...@@ -184,7 +184,10 @@ def main(package, direct_push=False):
['git', 'add', '-A']) ['git', 'add', '-A'])
try: try:
run_commands(['git', 'commit', '-am', run_commands(['git', 'commit', '-am',
'Update to version {}'.format(stable_version)]) 'Update to version {}'.format(stable_version),
'--author', '{} <{}>'.format(
os.environ.get('GITLAB_USER_ID'),
os.environ.get('GITLAB_USER_EMAIL'))])
except ValueError: except ValueError:
print('Feedstock is already uptodate, skipping.') print('Feedstock is already uptodate, skipping.')
return return
......
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