aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorSteven Roose <steven@stevenroose.org>2019-05-31 19:22:02 +0100
committerSteven Roose <steven@stevenroose.org>2019-05-31 19:22:02 +0100
commita352d2ae5f5e8a0204d49d66ff458a1505609de3 (patch)
tree0a55b21db9177df66eed87ec38cdbd99bf612ddb /contrib
parentc7cfd20a77ce57d200b3b9e5e0dfb0d63818abdc (diff)
Don't GPG sign intermediate commits with github-merge tool
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/devtools/github-merge.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/devtools/github-merge.py b/contrib/devtools/github-merge.py
index a57ecf9818..df1f3c8024 100755
--- a/contrib/devtools/github-merge.py
+++ b/contrib/devtools/github-merge.py
@@ -283,7 +283,7 @@ def main():
message += '\n\nPull request description:\n\n ' + body.replace('\n', '\n ') + '\n'
message += get_acks_from_comments(head_commit=subprocess.check_output([GIT,'log','-1','--pretty=format:%H',head_branch]).decode('utf-8')[:6], comments=comments)
try:
- subprocess.check_call([GIT,'merge','-q','--commit','--no-edit','--no-ff','-m',message.encode('utf-8'),head_branch])
+ subprocess.check_call([GIT,'merge','-q','--commit','--no-edit','--no-ff','--no-gpg-sign','-m',message.encode('utf-8'),head_branch])
except subprocess.CalledProcessError:
print("ERROR: Cannot be merged cleanly.",file=stderr)
subprocess.check_call([GIT,'merge','--abort'])
@@ -307,7 +307,7 @@ def main():
print("ERROR: Unable to compute tree hash")
sys.exit(4)
try:
- subprocess.check_call([GIT,'commit','--amend','-m',message.encode('utf-8')])
+ subprocess.check_call([GIT,'commit','--amend','--no-gpg-sign','-m',message.encode('utf-8')])
except subprocess.CalledProcessError:
print("ERROR: Cannot update message.", file=stderr)
sys.exit(4)