diff options
author | Andrew Chow <achow101-github@achow101.com> | 2021-08-10 15:22:30 -0400 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2021-08-19 16:48:39 -0400 |
commit | 132cae44f2d031bdaa1e459b92ec89ad585dfc9f (patch) | |
tree | c052e5183de6a8bcc24f64b4282dd38455e6c58b /doc | |
parent | fb17c99e35e72f3b21ec3b5473e84c21dc964776 (diff) |
doc: Mention the flat directory structure for uploads
The uploaded binaries need to match the same flat directory structure of
the SHA256SUMS file in order for torrent downloaders to be able to
verify the download without moving files. Mention this in the release
process doc.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/release-process.md | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/doc/release-process.md b/doc/release-process.md index 1b6472e812..3e4748b742 100644 --- a/doc/release-process.md +++ b/doc/release-process.md @@ -206,10 +206,15 @@ cat "$VERSION"/*/all.SHA256SUMS.asc > SHA256SUMS.asc ``` -- Upload to the bitcoincore.org server (`/var/www/bin/bitcoin-core-${VERSION}`): - 1. The contents of `./bitcoin/guix-build-${VERSION}/output`, except for +- Upload to the bitcoincore.org server (`/var/www/bin/bitcoin-core-${VERSION}/`): + 1. The contents of each `./bitcoin/guix-build-${VERSION}/output/${HOST}/` directory, except for `*-debug*` files. + Guix will output all of the results into host subdirectories, but the SHA256SUMS + file does not include these subdirectories. In order for downloads via torrent + to verify without directory structure modification, all of the uploaded files + need to be in the same directory as the SHA256SUMS file. + The `*-debug*` files generated by the guix build contain debug symbols for troubleshooting by developers. It is assumed that anyone that is interested in debugging can run guix to generate the files for @@ -217,6 +222,10 @@ cat "$VERSION"/*/all.SHA256SUMS.asc > SHA256SUMS.asc as save storage space *do not upload these to the bitcoincore.org server, nor put them in the torrent*. + ```sh + find guix-build-${VERSION}/output/ -maxdepth 2 -type f -not -name "SHA256SUMS.part" -and -not -name "*debug*" -exec scp {} user@bitcoincore.org:/var/www/bin/bitcoin-core-${VERSION} \; + ``` + 2. The `SHA256SUMS` file 3. The `SHA256SUMS.asc` combined signature file you just created |