1 * update translations (ping tcatm on IRC for now)
3 * update (commit) version in sources
13 * write release notes. git shortlog helps a lot:
15 git shortlog --no-merges v0.5.0..
17 * perform gitian builds
19 * From a directory containing the novacoin source, gitian-builder and gitian.sigs
20 export SIGNER=(your gitian key, ie bluematt, sipa, etc)
24 * Fetch and build inputs:
25 mkdir -p inputs; cd inputs/
26 wget 'http://miniupnp.free.fr/files/download.php?file=miniupnpc-1.6.tar.gz' -O miniupnpc-1.6.tar.gz
27 wget 'http://www.openssl.org/source/openssl-1.0.1b.tar.gz'
28 wget 'http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz'
29 wget 'http://zlib.net/zlib-1.2.6.tar.gz'
30 wget 'ftp://ftp.simplesystems.org/pub/libpng/png/src/libpng-1.5.9.tar.gz'
31 wget 'http://fukuchi.org/works/qrencode/qrencode-3.2.0.tar.bz2'
32 wget 'http://downloads.sourceforge.net/project/boost/boost/1.47.0/boost_1_47_0.tar.bz2'
33 wget 'http://download.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.7.4.tar.gz'
35 ./bin/gbuild ../novacoin/contrib/gitian-descriptors/boost-win32.yml
36 cp build/out/boost-win32-1.47.0-gitian.zip inputs/
37 ./bin/gbuild ../novacoin/contrib/gitian-descriptors/qt-win32.yml
38 cp build/out/qt-win32-4.7.4-gitian.zip inputs/
39 ./bin/gbuild ../novacoin/contrib/gitian-descriptors/deps-win32.yml
40 cp build/out/novacoin-deps-0.0.3.zip inputs/
42 * Build novacoind and novacoin-qt on Linux32, Linux64, and Win32:
43 ./bin/gbuild --commit novacoin=v${VERSION} ../novacoin/contrib/gitian-descriptors/gitian.yml
44 ./bin/gsign --signer $SIGNER --release ${VERSION} --destination ../gitian.sigs/ ../novacoin/contrib/gitian-descriptors/gitian.yml
46 zip -r novacoin-${VERSION}-linux-gitian.zip *
47 mv novacoin-${VERSION}-linux-gitian.zip ../../
49 ./bin/gbuild --commit novacoin=v${VERSION} ../novacoin/contrib/gitian-descriptors/gitian-win32.yml
50 ./bin/gsign --signer $SIGNER --release ${VERSION}-win32 --destination ../gitian.sigs/ ../novacoin/contrib/gitian-descriptors/gitian-win32.yml
52 zip -r novacoin-${VERSION}-win32-gitian.zip *
53 mv novacoin-${VERSION}-win32-gitian.zip ../../
56 Build output expected:
57 1. linux 32-bit and 64-bit binaries + source (novacoin-${VERSION}-linux-gitian.zip)
58 2. windows 32-bit binary, installer + source (novacoin-${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 unzip novacoin-${VERSION}-linux-gitian.zip -d novacoin-${VERSION}-linux
65 tar czvf novacoin-${VERSION}-linux.tar.gz novacoin-${VERSION}-linux
66 rm -rf novacoin-${VERSION}-linux
68 * Windows .zip and setup.exe:
69 unzip novacoin-${VERSION}-win32-gitian.zip -d novacoin-${VERSION}-win32
70 mv novacoin-${VERSION}-win32/novacoin-*-setup.exe .
71 zip -r novacoin-${VERSION}-win32.zip novacoin-${VERSION}-win32
72 rm -rf novacoin-${VERSION}-win32
75 See this blog post for how Gavin set up his build environment to build the OSX
76 release; note that a patched version of macdeployqt is not needed anymore, as
77 the required functionality and fixes are implemented directly in macdeployqtplus:
78 http://gavintech.blogspot.com/2011/11/deploying-novacoin-qt-on-osx.html
79 Gavin also had trouble with the macports py27-appscript package; he
80 ended up installing a version that worked with: /usr/bin/easy_install-2.7 appscript
82 qmake RELEASE=1 USE_UPNP=1 USE_QRCODE=1 novacoin-qt.pro
84 export QTDIR=/opt/local/share/qt4 # needed to find translations/qt_*.qm files
85 T=$(contrib/qt_translations.py $QTDIR/translations src/qt/locale)
86 python2.7 contrib/macdeploy/macdeployqtplus Novacoin-Qt.app -add-qt-tr $T -dmg -fancy contrib/macdeploy/fancy.plist
88 Build output expected:
91 * upload builds to SourceForge
93 * create SHA256SUMS for builds, and PGP-sign it
95 * update novacoin.org version
97 * update forum version
99 * update wiki download links
101 * update wiki changelog: https://wiki.novaco.in/en/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 novacoin source, gitian.sigs and gitian zips
117 mkdir novacoin-${VERSION}-linux-gitian
118 pushd novacoin-${VERSION}-linux-gitian
119 unzip ../novacoin-${VERSION}-linux-gitian.zip
121 cp ../novacoin/contrib/gitian-downloader/*.pgp ./gitian/
122 for signer in $(ls ../gitian.sigs/${VERSION}/); do
123 cp ../gitian.sigs/${VERSION}/${signer}/novacoin-build.assert ./gitian/${signer}-build.assert
124 cp ../gitian.sigs/${VERSION}/${signer}/novacoin-build.assert.sig ./gitian/${signer}-build.assert.sig
126 zip -r novacoin-${VERSION}-linux-gitian.zip *
127 cp novacoin-${VERSION}-linux-gitian.zip ../
129 mkdir novacoin-${VERSION}-win32-gitian
130 pushd novacoin-${VERSION}-win32-gitian
131 unzip ../novacoin-${VERSION}-win32-gitian.zip
133 cp ../novacoin/contrib/gitian-downloader/*.pgp ./gitian/
134 for signer in $(ls ../gitian.sigs/${VERSION}-win32/); do
135 cp ../gitian.sigs/${VERSION}-win32/${signer}/novacoin-build.assert ./gitian/${signer}-build.assert
136 cp ../gitian.sigs/${VERSION}-win32/${signer}/novacoin-build.assert.sig ./gitian/${signer}-build.assert.sig
138 zip -r novacoin-${VERSION}-win32-gitian.zip *
139 cp novacoin-${VERSION}-win32-gitian.zip ../
142 * Upload gitian zips to SourceForge