1 * update translations (ping tcatm on IRC for now)
3 * update (commit) version in sources
5 src/clientversion.h (change CLIENT_VERSION_IS_RELEASE to true)
8 contrib/verifysfbinaries/verify.sh
14 * write release notes. git shortlog helps a lot:
16 git shortlog --no-merges v0.5.0..
18 * perform gitian builds
20 * From a directory containing the bitcoin source, gitian-builder and gitian.sigs
21 export SIGNER=(your gitian key, ie bluematt, sipa, etc)
25 * Fetch and build inputs: (first time, or when dependency versions change)
26 mkdir -p inputs; cd inputs/
27 wget 'http://miniupnp.free.fr/files/download.php?file=miniupnpc-1.6.tar.gz' -O miniupnpc-1.6.tar.gz
28 wget 'http://www.openssl.org/source/openssl-1.0.1c.tar.gz'
29 wget 'http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz'
30 wget 'http://zlib.net/zlib-1.2.6.tar.gz'
31 wget 'ftp://ftp.simplesystems.org/pub/libpng/png/src/libpng-1.5.9.tar.gz'
32 wget 'http://fukuchi.org/works/qrencode/qrencode-3.2.0.tar.bz2'
33 wget 'http://downloads.sourceforge.net/project/boost/boost/1.50.0/boost_1_50_0.tar.bz2'
34 wget 'http://releases.qt-project.org/qt4/source/qt-everywhere-opensource-src-4.8.3.tar.gz'
36 ./bin/gbuild ../bitcoin/contrib/gitian-descriptors/boost-win32.yml
37 mv build/out/boost-win32-1.50.0-gitian2.zip inputs/
38 ./bin/gbuild ../bitcoin/contrib/gitian-descriptors/qt-win32.yml
39 mv build/out/qt-win32-4.8.3-gitian-r1.zip inputs/
40 ./bin/gbuild ../bitcoin/contrib/gitian-descriptors/deps-win32.yml
41 mv build/out/bitcoin-deps-0.0.5.zip inputs/
43 * Build bitcoind and bitcoin-qt on Linux32, Linux64, and Win32:
44 ./bin/gbuild --commit bitcoin=v${VERSION} ../bitcoin/contrib/gitian-descriptors/gitian.yml
45 ./bin/gsign --signer $SIGNER --release ${VERSION} --destination ../gitian.sigs/ ../bitcoin/contrib/gitian-descriptors/gitian.yml
47 zip -r bitcoin-${VERSION}-linux-gitian.zip *
48 mv bitcoin-${VERSION}-linux-gitian.zip ../../
50 ./bin/gbuild --commit bitcoin=v${VERSION} ../bitcoin/contrib/gitian-descriptors/gitian-win32.yml
51 ./bin/gsign --signer $SIGNER --release ${VERSION}-win32 --destination ../gitian.sigs/ ../bitcoin/contrib/gitian-descriptors/gitian-win32.yml
53 zip -r bitcoin-${VERSION}-win32-gitian.zip *
54 mv bitcoin-${VERSION}-win32-gitian.zip ../../
57 Build output expected:
58 1. linux 32-bit and 64-bit binaries + source (bitcoin-${VERSION}-linux-gitian.zip)
59 2. windows 32-bit binary, installer + source (bitcoin-${VERSION}-win32-gitian.zip)
60 3. Gitian signatures (in gitian.sigs/${VERSION}[-win32]/(your gitian key)/
62 * repackage gitian builds for release as stand-alone zip/tar/installer exe
65 unzip bitcoin-${VERSION}-linux-gitian.zip -d bitcoin-${VERSION}-linux
66 tar czvf bitcoin-${VERSION}-linux.tar.gz bitcoin-${VERSION}-linux
67 rm -rf bitcoin-${VERSION}-linux
69 * Windows .zip and setup.exe:
70 unzip bitcoin-${VERSION}-win32-gitian.zip -d bitcoin-${VERSION}-win32
71 mv bitcoin-${VERSION}-win32/bitcoin-*-setup.exe .
72 zip -r bitcoin-${VERSION}-win32.zip bitcoin-${VERSION}-win32
73 rm -rf bitcoin-${VERSION}-win32
76 OSX binaries are created by Gavin Andresen on a 32-bit, OSX 10.6 machine.
78 qmake RELEASE=1 USE_UPNP=1 USE_QRCODE=1 bitcoin-qt.pro
80 export QTDIR=/opt/local/share/qt4 # needed to find translations/qt_*.qm files
81 T=$(contrib/qt_translations.py $QTDIR/translations src/qt/locale)
82 python2.7 contrib/macdeploy/macdeployqtplus Bitcoin-Qt.app -add-qt-tr $T -dmg -fancy contrib/macdeploy/fancy.plist
84 Build output expected:
87 * Code-sign Windows -setup.exe (in a Windows virtual machine) and
88 OSX Bitcoin-Qt.app (Note: only Gavin has the code-signing keys currently)
90 * upload builds to SourceForge
92 * create SHA256SUMS for builds, and PGP-sign it
94 * update bitcoin.org version
95 make sure all OS download links go to the right versions
97 * update forum version
99 * update wiki download links
101 * update wiki changelog: https://en.bitcoin.it/wiki/Changelog
103 * Commit your signature to gitian.sigs:
105 git add ${VERSION}/${SIGNER}
106 git add ${VERSION}-win32/${SIGNER}
108 git push # Assuming you can push to the gitian.sigs tree
111 -------------------------------------------------------------------------
113 * After 3 or more people have gitian-built, repackage gitian-signed zips:
115 * From a directory containing bitcoin source, gitian.sigs and gitian zips
117 mkdir bitcoin-${VERSION}-linux-gitian
118 pushd bitcoin-${VERSION}-linux-gitian
119 unzip ../bitcoin-${VERSION}-linux-gitian.zip
121 cp ../bitcoin/contrib/gitian-downloader/*.pgp ./gitian/
122 for signer in $(ls ../gitian.sigs/${VERSION}/); do
123 cp ../gitian.sigs/${VERSION}/${signer}/bitcoin-build.assert ./gitian/${signer}-build.assert
124 cp ../gitian.sigs/${VERSION}/${signer}/bitcoin-build.assert.sig ./gitian/${signer}-build.assert.sig
126 zip -r bitcoin-${VERSION}-linux-gitian.zip *
127 cp bitcoin-${VERSION}-linux-gitian.zip ../
129 mkdir bitcoin-${VERSION}-win32-gitian
130 pushd bitcoin-${VERSION}-win32-gitian
131 unzip ../bitcoin-${VERSION}-win32-gitian.zip
133 cp ../bitcoin/contrib/gitian-downloader/*.pgp ./gitian/
134 for signer in $(ls ../gitian.sigs/${VERSION}-win32/); do
135 cp ../gitian.sigs/${VERSION}-win32/${signer}/bitcoin-build.assert ./gitian/${signer}-build.assert
136 cp ../gitian.sigs/${VERSION}-win32/${signer}/bitcoin-build.assert.sig ./gitian/${signer}-build.assert.sig
138 zip -r bitcoin-${VERSION}-win32-gitian.zip *
139 cp bitcoin-${VERSION}-win32-gitian.zip ../
142 * Upload gitian zips to SourceForge