Skip to contentSkip to conversation

send-qa-email: Save the QA email in case it doesn't reach the mailing lists.

PATCH New Michael Halstead 1 participant 1 message Feb 22, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 send-qa-email: Save the QA email in case it doesn't reach the mailing lists.

---
 scripts/send-qa-email | 4 ++++
 1 file changed, 4 insertions(+)
scripts/send-qa-email +4 -0
index 6785df3..1b69307 100755
@@ -145,6 +145,10 @@ Build hash information: \n
 
 ''' % (args.release, args.publish_dir.replace(web_root, web_url), buildhashes)
 
+# Store a copy of the email in case it doesn't reach the lists
+with open(os.path.join(args.publish_dir, "qa-email"), "wb") as qa_email:
+    qa_email.write(email.encode('utf-8'))
+
 utils.printheader("Sending QA email")
 env = os.environ.copy()
 # Many distros have sendmail in */sbin
Signature · 1 line
2.29.2