Skip to content

Commit 1e06bab

Browse files
committed
Merge #7417: Minor improvements to the release process
c6325cf Minor improvements to the release process (Paul Rabahy)
2 parents 62f2d76 + c6325cf commit 1e06bab

File tree

1 file changed

+23
-10
lines changed

1 file changed

+23
-10
lines changed

doc/release-process.md

Lines changed: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ Check out the source code in the following directory hierarchy.
4141
pushd ./bitcoin
4242
export SIGNER=(your Gitian key, ie bluematt, sipa, etc)
4343
export VERSION=(new version, e.g. 0.8.0)
44+
git fetch
4445
git checkout v${VERSION}
4546
popd
4647

@@ -83,25 +84,16 @@ NOTE: Offline builds must use the --url flag to ensure Gitian fetches only from
8384
```
8485
The gbuild invocations below <b>DO NOT DO THIS</b> by default.
8586

86-
###Build (and optionally verify) Bitcoin Core for Linux, Windows, and OS X:
87+
###Build and Sign Bitcoin Core for Linux, Windows, and OS X:
8788

8889
./bin/gbuild --commit bitcoin=v${VERSION} ../bitcoin/contrib/gitian-descriptors/gitian-linux.yml
8990
./bin/gsign --signer $SIGNER --release ${VERSION}-linux --destination ../gitian.sigs/ ../bitcoin/contrib/gitian-descriptors/gitian-linux.yml
90-
./bin/gverify -v -d ../gitian.sigs/ -r ${VERSION}-linux ../bitcoin/contrib/gitian-descriptors/gitian-linux.yml
91-
mv build/out/bitcoin-*.tar.gz build/out/src/bitcoin-*.tar.gz ../
9291

9392
./bin/gbuild --commit bitcoin=v${VERSION} ../bitcoin/contrib/gitian-descriptors/gitian-win.yml
9493
./bin/gsign --signer $SIGNER --release ${VERSION}-win-unsigned --destination ../gitian.sigs/ ../bitcoin/contrib/gitian-descriptors/gitian-win.yml
95-
./bin/gverify -v -d ../gitian.sigs/ -r ${VERSION}-win-unsigned ../bitcoin/contrib/gitian-descriptors/gitian-win.yml
96-
mv build/out/bitcoin-*-win-unsigned.tar.gz inputs/bitcoin-win-unsigned.tar.gz
97-
mv build/out/bitcoin-*.zip build/out/bitcoin-*.exe ../
9894

9995
./bin/gbuild --commit bitcoin=v${VERSION} ../bitcoin/contrib/gitian-descriptors/gitian-osx.yml
10096
./bin/gsign --signer $SIGNER --release ${VERSION}-osx-unsigned --destination ../gitian.sigs/ ../bitcoin/contrib/gitian-descriptors/gitian-osx.yml
101-
./bin/gverify -v -d ../gitian.sigs/ -r ${VERSION}-osx-unsigned ../bitcoin/contrib/gitian-descriptors/gitian-osx.yml
102-
mv build/out/bitcoin-*-osx-unsigned.tar.gz inputs/bitcoin-osx-unsigned.tar.gz
103-
mv build/out/bitcoin-*.tar.gz build/out/bitcoin-*.dmg ../
104-
popd
10597

10698
Build output expected:
10799

@@ -111,6 +103,27 @@ The gbuild invocations below <b>DO NOT DO THIS</b> by default.
111103
4. OS X unsigned installer and dist tarball (bitcoin-${VERSION}-osx-unsigned.dmg, bitcoin-${VERSION}-osx64.tar.gz)
112104
5. Gitian signatures (in gitian.sigs/${VERSION}-<linux|{win,osx}-unsigned>/(your Gitian key)/
113105

106+
###Verify other gitian builders signatures to your own. (Optional)
107+
108+
Add other gitian builders keys to your gpg keyring
109+
110+
gpg --import ../bitcoin/contrib/gitian-downloader/*.pgp
111+
112+
Verify the signatures
113+
114+
./bin/gverify -v -d ../gitian.sigs/ -r ${VERSION}-linux ../bitcoin/contrib/gitian-descriptors/gitian-linux.yml
115+
./bin/gverify -v -d ../gitian.sigs/ -r ${VERSION}-win-unsigned ../bitcoin/contrib/gitian-descriptors/gitian-win.yml
116+
./bin/gverify -v -d ../gitian.sigs/ -r ${VERSION}-osx-unsigned ../bitcoin/contrib/gitian-descriptors/gitian-osx.yml
117+
118+
###Move the outputs to the correct directory
119+
120+
mv build/out/bitcoin-*.tar.gz build/out/src/bitcoin-*.tar.gz ../
121+
mv build/out/bitcoin-*-win-unsigned.tar.gz inputs/bitcoin-win-unsigned.tar.gz
122+
mv build/out/bitcoin-*.zip build/out/bitcoin-*.exe ../
123+
mv build/out/bitcoin-*-osx-unsigned.tar.gz inputs/bitcoin-osx-unsigned.tar.gz
124+
mv build/out/bitcoin-*.tar.gz build/out/bitcoin-*.dmg ../
125+
popd
126+
114127
###Next steps:
115128

116129
Commit your signature to gitian.sigs:

0 commit comments

Comments
 (0)