From 1a8a0fc159a55bf5c409ac125e2228bbfafc7e16 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Wed, 16 Mar 2022 15:48:09 +0100 Subject: [PATCH] contrib/add_cosigner: document usage process --- contrib/add_cosigner | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/contrib/add_cosigner b/contrib/add_cosigner index 549911d3c..8e805c3ef 100755 --- a/contrib/add_cosigner +++ b/contrib/add_cosigner @@ -1,4 +1,19 @@ #!/usr/bin/python3 +# +# This script is part of the workflow for BUILDERs to reproduce and sign the +# release binaries. (for builders who do not have sftp access to "electrum-downloads-airlock") +# +# - BUILDER builds all binaries and checks they match the official releases +# (using release.sh, and perhaps some manual steps) +# - BUILDER creates a PR against https://github.com/spesmilo/electrum-signatures/ +# to add their sigs for a given release, which then gets merged +# - SFTPUSER runs `$ electrum/contrib/add_cosigner $BUILDER` +# - SFTPUSER runs `$ SSHUSER=$SFTPUSER electrum/contrib/upload` +# - SFTPUSER runs `$ electrum/contrib/make_download $WWW_DIR` +# - $ (cd $WWW_DIR; git commit -a -m "add_cosigner"; git push) +# - SFTPUSER runs `$ electrum-web/publish.sh $SFTPUSER` +# - (for the website to be updated, both ThomasV and SomberNight needs to run publish.sh) + import re import os import sys