From 30df722ab06fd41fd99bf3bda81e6050eb312caf Mon Sep 17 00:00:00 2001 From: "Azalea (on HyDEV-Daisy)" Date: Sat, 30 Jul 2022 18:04:21 -0400 Subject: [PATCH] [F] Fix sha mismatch --- accept-upstream.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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!