1 * update (commit) version in sources
5 * update (commit) version in OSX app bundle
6 contrib/Bitcoin.app/Contents/Info.plist
8 * CFBundleShortVersionString should have value like 0.5.0
9 * CFBundleVersion should have value like 500
15 * write release notes. git shortlog helps a lot:
17 git shortlog --no-merges v0.4.0..
19 * create source-only archive
21 git archive --format=tar --prefix=bitcoin-0.5.0/ HEAD | \
22 gzip -9c > ~/tmp/bitcoin-0.5.0-src.tar.gz
24 * perform gitian builds
26 * From a directory containing the bitcoin source, gitian-builder and gitian.sigs
27 export SIGNER=(your gitian key, ie bluematt, sipa, etc)
31 * Fetch and build inputs:
32 mkdir -p inputs; cd inputs/
33 wget 'http://miniupnp.free.fr/files/download.php?file=miniupnpc-1.6.tar.gz' -O miniupnpc-1.6.tar.gz
34 wget 'http://www.openssl.org/source/openssl-1.0.0e.tar.gz'
35 wget 'http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz'
36 wget 'http://downloads.sourceforge.net/project/boost/boost/1.47.0/boost_1_47_0.tar.bz2'
37 wget 'http://download.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.7.4.tar.gz'
39 ./bin/gbuild ../bitcoin/contrib/gitian-descriptors/boost-win32.yml
40 cp build/out/boost-win32-1.47.0-gitian.zip inputs/
41 ./bin/gbuild ../bitcoin/contrib/gitian-descriptors/qt-win32.yml
42 cp build/out/qt-win32-4.7.4-gitian.zip inputs/
44 * Build bitcoind and bitcoin-qt on Linux32, Linux64, and Win32:
45 ./bin/gbuild --commit bitcoin=v$VERSION ../bitcoin/contrib/gitian-descriptors/gitian.yml
46 ./bin/gsign --signer $SIGNER --release $VERSION --destination ../gitian.sigs/ ../bitcoin/contrib/gitian-descriptors/gitian.yml
48 zip -r bitcoin-$VERSION-linux-gitian.zip *
49 mv bitcoin-$VERSION-linux-gitian.zip ../../
51 ./bin/gbuild --commit bitcoin=v$VERSION ../bitcoin/contrib/gitian-descriptors/gitian-win32.yml
52 ./bin/gsign --signer $SIGNER --release $VERSION-win32 --destination ../gitian.sigs/ ../bitcoin/contrib/gitian-descriptors/gitian-win32.yml
54 zip -r bitcoin-$VERSION-win32-gitian.zip *
55 mv bitcoin-$VERSION-win32-gitian.zip ../../
58 Build output expected:
59 1. linux 32-bit and 64-bit binaries + source (bitcoin-$VERSION-linux-gitian.zip)
60 2. windows 32-bit binary, installer + source (bitcoin-$VERSION-win32-gitian.zip)
61 3. Gitian signatures (in gitian.sigs/$VERSION[-win32]/(your gitian key)/
63 * repackage gitian builds for release as stand-alone zip/tar/installer exe
66 unzip bitcoin-$VERSION-linux-gitian.zip -d bitcoin-$VERSION-linux
67 tar czvf bitcoin-$VERSION-linux.tar.gz bitcoin-$VERSION-linux
68 rm -rf bitcoin-$VERSION-linux
70 * Windows .zip and setup.exe:
71 unzip bitcoin-$VERSION-win32-gitian.zip -d bitcoin-$VERSION-win32
72 mv bitcoin-$VERSION-win32/bitcoin-*-setup.exe .
73 zip -r bitcoin-$VERSION-win32.zip bitcoin-$VERSION-win32
74 rm -rf bitcoin-$VERSION-win32
77 See this blog post for how Gavin set up his build environment and
78 patched macdeployqt to build the OSX release:
79 http://gavintech.blogspot.com/2011/11/deploying-bitcoin-qt-on-osx.html
80 qmake USE_SSL=1 USE_UPNP=1 bitcoin-qt.pro
82 export QTDIR=/opt/local/share/qt4 # needed to find translations/qt_*.qm files
83 contrib/macdeploy/macdeployqtplus Bitcoin-Qt.app -add-qt-tr de,es,ru -dmg -fancy contrib/macdeploy/fancy.plist
85 Build output expected:
88 * upload source and builds to SourceForge
90 * create SHA1SUMS for builds, and PGP-sign it
92 * update bitcoin.org version
94 * update forum version
98 * update wiki download links
100 * release gitian-signed gitian archives
102 * Collect enough gitian signatures to meet minimum_weight (see contrib/gitian-downloader/*-download-config)
104 * From a directory containing bitcoin source, gitian.sigs and gitian zips
106 mkdir bitcoin-$VERSION-linux-gitian; cd bitcoin-$VERSION-linux-gitian
107 unzip ../bitcoin-$VERSION-linux-gitian.zip
109 cp ../bitcoin/contrib/gitian-downloader/*.pgp ./gitian/
110 for file in `ls ../gitian.sigs/$VERSION/`; do
111 cp ../gitian.sigs/$VERSION/$file/bitcoin-build.assert ./gitian/$file-build.assert
112 cp ../gitian.sigs/$VERSION/$file/bitcoin-build.assert.sig ./gitian/$file-build.assert.sig
114 zip -r bitcoin-$VERSION-linux-gitian.zip *
115 cp bitcoin-$VERSION-linux-gitian.zip ../
117 mkdir bitcoin-$VERSION-linux-gitian; cd bitcoin-$VERSION-linux-gitian
118 unzip ../bitcoin-$VERSION-linux-gitian.zip
120 cp ../bitcoin/contrib/gitian-downloader/*.pgp ./gitian/
121 for file in `ls ../gitian.sigs/$VERSION/`; do
122 cp ../gitian.sigs/$VERSION/$file/bitcoin-build.assert ./gitian/$file-build.assert
123 cp ../gitian.sigs/$VERSION/$file/bitcoin-build.assert.sig ./gitian/$file-build.assert.sig
125 zip -r bitcoin-$VERSION-linux-gitian.zip *
126 cp bitcoin-$VERSION-linux-gitian.zip ../
128 * Upload gitian zips to SourceForge