diff --git a/gitlab/update_feedstock.py b/gitlab/update_feedstock.py index 4d456f7178299c3fd84535c45e1629de2f6a86f7..ad70820784551a3d79b6d5e4391471dd6418951b 100755 --- a/gitlab/update_feedstock.py +++ b/gitlab/update_feedstock.py @@ -184,7 +184,10 @@ def main(package, direct_push=False): ['git', 'add', '-A']) try: 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: print('Feedstock is already uptodate, skipping.') return