|
|
|
* update (commit) version in sources
|
|
|
|
src/serialize.h
|
|
|
|
share/setup.nsi
|
|
|
|
|
|
|
|
* update (commit) version in OSX app bundle
|
|
|
|
contrib/Bitcoin.app/Contents/Info.plist
|
|
|
|
|
|
|
|
* CFBundleShortVersionString should have value like 0.3.23
|
|
|
|
* CFBundleVersion should have value like 323
|
|
|
|
|
|
|
|
* tag version in git
|
|
|
|
|
|
|
|
$ git tag -a v0.3.23
|
|
|
|
|
|
|
|
* write release notes. git shortlog helps a lot:
|
|
|
|
|
|
|
|
$ git shortlog --no-merges v0.3.22..
|
|
|
|
|
|
|
|
* create source-only archive
|
|
|
|
|
|
|
|
$ git archive --format=tar --prefix=bitcoin-0.3.23/ HEAD | \
|
|
|
|
gzip -9c > ~/tmp/bitcoin-0.3.23-src.tar.gz
|
|
|
|
|
|
|
|
* perform gitian builds
|
|
|
|
|
|
|
|
* From the bitcoin source dir
|
|
|
|
$ cd ../gitian-builder
|
|
|
|
$ ./bin/gbuild --commit bitcoin=v0.3.23 ../bitcoin/contrib/gitian.yml
|
|
|
|
$ ./bin/gbuild --commit bitcoin=v0.3.23 ../bitcoin/contrib/gitian-win32.yml
|
|
|
|
|
|
|
|
Build output expected:
|
|
|
|
1. linux 32-bit and 64-bit binaries + source
|
|
|
|
2. windows 32-bit binary + source
|
|
|
|
3. windows installer
|
|
|
|
|
|
|
|
* repackage gitian builds:
|
|
|
|
|
|
|
|
* Windows .zip and setup.exe:
|
|
|
|
$ mkdir bitcoin-$VERSION-win32
|
|
|
|
$ cd bitcoin-$VERSION-win32
|
|
|
|
$ unzip bitcoin-$VERSION-win32-gitian.zip
|
|
|
|
$ mv bitcoin-$VERSION-win32-setup.exe ..
|
|
|
|
$ cd ..; zip bitcoin-$VERSION-win32.zip bitcoin-$VERSION-win32
|
|
|
|
|
|
|
|
* Linux .tar.gz:
|
|
|
|
$ mkdir bitcoin-$VERSION-linux
|
|
|
|
$ cd bitcoin-$VERSION-linux
|
|
|
|
$ unzip bitcoin-$VERSION-linux-gitian.zip
|
|
|
|
$ cd ..; tar czvf bitcoin-$VERSION-linux.tar.gz bitcoin-$VERSION-linux
|
|
|
|
|
|
|
|
* perform Mac build
|
|
|
|
* From the bitcoin source dir
|
|
|
|
$ cd contrib
|
|
|
|
$ ./create_osx_dmg.sh
|
|
|
|
$ mv Bitcoin.dmg bitcoin-$VERSION-macosx.dmg
|
|
|
|
|
|
|
|
* upload source and builds to SF
|
|
|
|
|
|
|
|
* create SHA1SUMS for builds, and PGP-sign it
|
|
|
|
|
|
|
|
* update bitcoin.org version
|
|
|
|
|
|
|
|
* update forum version
|
|
|
|
|
|
|
|
* update wiki
|
|
|
|
|
|
|
|
* update wiki download links
|
|
|
|
|
|
|
|
|