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
30 * Fetch and build inputs:
31 mkdir -p inputs; cd inputs/
32 wget 'http://miniupnp.free.fr/files/download.php?file=miniupnpc-1.6.tar.gz' -O miniupnpc-1.6.tar.gz
33 wget 'http://www.openssl.org/source/openssl-1.0.0e.tar.gz'
34 wget 'http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz'
35 wget 'http://downloads.sourceforge.net/project/boost/boost/1.47.0/boost_1_47_0.tar.bz2'
36 wget 'http://download.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.7.4.tar.gz'
38 ./bin/gbuild ../bitcoin/contrib/gitian-descriptors/boost-win32.yml
39 cp build/out/boost-win32-1.47.0-gitian.zip inputs/
40 ./bin/gbuild ../bitcoin/contrib/gitian-descriptors/qt-win32.yml
41 cp build/out/qt-win32-4.7.4-gitian.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 (your gitian key, ie bluematt, sipa, etc) --release $VERSION --destination ../gitian.sigs/ ../bitcoin/contrib/gitian-descriptors/gitian.yml
47 zip bitcoin-$VERSION-linux-gitian.zip *
48 mv bitcoin-$VERSION-linux-gitian.zip ../../
49 ./bin/gbuild --commit bitcoin=v$VERSION ../bitcoin/contrib/gitian-descriptors/gitian-win32.yml
50 ./bin/gsign --signer (your gitian key, ie bluematt, sipa, etc) --release $VERSION-win32 --destination ../gitian.sigs/ ../bitcoin/contrib/gitian-descriptors/gitian-win32.yml
52 zip bitcoin-$VERSION-win32-gitian.zip *
53 mv bitcoin-$VERSION-win32-gitian.zip ../../
55 Build output expected:
56 1. linux 32-bit and 64-bit binaries + source (bitcoin-$VERSION-linux-gitian.zip)
57 2. windows 32-bit binary, installer + source (bitcoin-$VERSION-win32-gitian.zip)
58 3. Gitian signatures (in gitian.sigs/$VERSION[-win32]/(your gitian key)/
60 * repackage gitian builds for release as stand-alone zip/tar/installer exe
63 mkdir bitcoin-$VERSION-linux
64 cd bitcoin-$VERSION-linux
65 unzip bitcoin-$VERSION-linux-gitian.zip
66 cd ..; tar czvf bitcoin-$VERSION-linux.tar.gz bitcoin-$VERSION-linux
68 * Windows .zip and setup.exe:
69 mkdir bitcoin-$VERSION-win32
70 cd bitcoin-$VERSION-win32
71 unzip bitcoin-$VERSION-win32-gitian.zip
72 mv bitcoin-$VERSION-win32-setup.exe ..
73 cd ..; zip bitcoin-$VERSION-win32.zip bitcoin-$VERSION-win32
77 qmake USE_SSL=1 USE_UPNP=1 bitcoin-qt.pro
79 export QTDIR=/opt/local/share/qt4
80 contrib/macdeploy/macdeployqtplus Bitcoin-Qt.app -add-qt-tr de,ru -dmg -fancy contrib/macdeploy/fancy.plist
82 Build output expected:
85 * upload source and builds to SourceForge
87 * create SHA1SUMS for builds, and PGP-sign it
89 * update bitcoin.org version
91 * update forum version
95 * update wiki download links
97 * release gitian-signed gitian archives
99 * Collect enough gitian signatures to meet minimum_weight (see contrib/gitian-downloader/*-download-config)
101 * From a directory containing bitcoin source, gitian.sigs and gitian zips
103 mkdir bitcoin-$VERSION-linux-gitian; cd bitcoin-$VERSION-linux-gitian
104 unzip ../bitcoin-$VERSION-linux-gitian.zip
106 cp ../bitcoin/contrib/gitian-downloader/*.pgp ./gitian/
107 for file in `ls ../gitian.sigs/$VERSION/`; do
108 cp ../gitian.sigs/$VERSION/$file/bitcoin-build.assert ./gitian/$file-build.assert
109 cp ../gitian.sigs/$VERSION/$file/bitcoin-build.assert.sig ./gitian/$file-build.assert.sig
111 zip bitcoin-$VERSION-linux-gitian.zip *
112 cp bitcoin-$VERSION-linux-gitian.zip ../
114 mkdir bitcoin-$VERSION-linux-gitian; cd bitcoin-$VERSION-linux-gitian
115 unzip ../bitcoin-$VERSION-linux-gitian.zip
117 cp ../bitcoin/contrib/gitian-downloader/*.pgp ./gitian/
118 for file in `ls ../gitian.sigs/$VERSION/`; do
119 cp ../gitian.sigs/$VERSION/$file/bitcoin-build.assert ./gitian/$file-build.assert
120 cp ../gitian.sigs/$VERSION/$file/bitcoin-build.assert.sig ./gitian/$file-build.assert.sig
122 zip bitcoin-$VERSION-linux-gitian.zip *
123 cp bitcoin-$VERSION-linux-gitian.zip ../
125 * Upload gitian zips to SourceForge