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 bitcoin-$VERSION-linux-gitian.zip *
49 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 bitcoin-$VERSION-win32-gitian.zip *
54 mv bitcoin-$VERSION-win32-gitian.zip ../../
56 Build output expected:
57 1. linux 32-bit and 64-bit binaries + source (bitcoin-$VERSION-linux-gitian.zip)
58 2. windows 32-bit binary, installer + source (bitcoin-$VERSION-win32-gitian.zip)
59 3. Gitian signatures (in gitian.sigs/$VERSION[-win32]/(your gitian key)/
61 * repackage gitian builds for release as stand-alone zip/tar/installer exe
64 mkdir bitcoin-$VERSION-linux
65 cd bitcoin-$VERSION-linux
66 unzip bitcoin-$VERSION-linux-gitian.zip
67 cd ..; tar czvf bitcoin-$VERSION-linux.tar.gz bitcoin-$VERSION-linux
69 * Windows .zip and setup.exe:
70 mkdir bitcoin-$VERSION-win32
71 cd bitcoin-$VERSION-win32
72 unzip bitcoin-$VERSION-win32-gitian.zip
73 mv bitcoin-$VERSION-win32-setup.exe ..
74 cd ..; zip bitcoin-$VERSION-win32.zip bitcoin-$VERSION-win32
78 See this blog post for how Gavin set up his build environment and
79 patched macdeployqt to build the OSX release:
80 http://gavintech.blogspot.com/2011/11/deploying-bitcoin-qt-on-osx.html
81 qmake USE_SSL=1 USE_UPNP=1 bitcoin-qt.pro
83 export QTDIR=/opt/local/share/qt4 # needed to find translations/qt_*.qm files
84 contrib/macdeploy/macdeployqtplus Bitcoin-Qt.app -add-qt-tr de,es,ru -dmg -fancy contrib/macdeploy/fancy.plist
86 Build output expected:
89 * upload source and builds to SourceForge
91 * create SHA1SUMS for builds, and PGP-sign it
93 * update bitcoin.org version
95 * update forum version
99 * update wiki download links
101 * release gitian-signed gitian archives
103 * Collect enough gitian signatures to meet minimum_weight (see contrib/gitian-downloader/*-download-config)
105 * From a directory containing bitcoin source, gitian.sigs and gitian zips
107 mkdir bitcoin-$VERSION-linux-gitian; cd bitcoin-$VERSION-linux-gitian
108 unzip ../bitcoin-$VERSION-linux-gitian.zip
110 cp ../bitcoin/contrib/gitian-downloader/*.pgp ./gitian/
111 for file in `ls ../gitian.sigs/$VERSION/`; do
112 cp ../gitian.sigs/$VERSION/$file/bitcoin-build.assert ./gitian/$file-build.assert
113 cp ../gitian.sigs/$VERSION/$file/bitcoin-build.assert.sig ./gitian/$file-build.assert.sig
115 zip bitcoin-$VERSION-linux-gitian.zip *
116 cp bitcoin-$VERSION-linux-gitian.zip ../
118 mkdir bitcoin-$VERSION-linux-gitian; cd bitcoin-$VERSION-linux-gitian
119 unzip ../bitcoin-$VERSION-linux-gitian.zip
121 cp ../bitcoin/contrib/gitian-downloader/*.pgp ./gitian/
122 for file in `ls ../gitian.sigs/$VERSION/`; do
123 cp ../gitian.sigs/$VERSION/$file/bitcoin-build.assert ./gitian/$file-build.assert
124 cp ../gitian.sigs/$VERSION/$file/bitcoin-build.assert.sig ./gitian/$file-build.assert.sig
126 zip bitcoin-$VERSION-linux-gitian.zip *
127 cp bitcoin-$VERSION-linux-gitian.zip ../
129 * Upload gitian zips to SourceForge