diff --git a/accept-upstream.py b/accept-upstream.py index e07af42c..bc239afd 100644 --- a/accept-upstream.py +++ b/accept-upstream.py @@ -55,14 +55,14 @@ if __name__ == '__main__': f'Thanks to @{user}\n\n' f'Co-authored-by: {author["name"]} <{author["email"]}>"') - # Get commit SHA - sha = check_output(shlex.split('git rev-parse --short HEAD')).decode().strip() - # Push print() print('Pushing...') os.system('git push') + # Get commit SHA + sha = check_output(shlex.split('git rev-parse --short HEAD')).decode().strip() + # Copy comment to clipboard comment = f""" Thank you for your contribution!