Update release process for repackaging gitian builds, and osx dmg
[novacoin.git] / doc / release-process.txt
1 * update (commit) version in sources
2   src/serialize.h
3   share/setup.nsi
4
5 * update (commit) version in OSX app bundle
6  contrib/Bitcoin.app/Contents/Info.plist
7
8   * CFBundleShortVersionString should have value like 0.3.23
9   * CFBundleVersion should have value like 323
10
11 * tag version in git
12
13   $ git tag -a v0.3.23
14
15 * write release notes.  git shortlog helps a lot:
16
17   $ git shortlog --no-merges v0.3.22..
18
19 * create source-only archive
20
21   $ git archive --format=tar --prefix=bitcoin-0.3.23/ HEAD | \
22         gzip -9c > ~/tmp/bitcoin-0.3.23-src.tar.gz 
23
24 * perform gitian builds
25
26   * From the bitcoin source dir
27   $ cd ../gitian-builder
28   $ ./bin/gbuild --commit bitcoin=v0.3.23 ../bitcoin/contrib/gitian.yml
29   $ ./bin/gbuild --commit bitcoin=v0.3.23 ../bitcoin/contrib/gitian-win32.yml
30  
31   Build output expected:
32   1. linux 32-bit and 64-bit binaries + source
33   2. windows 32-bit binary + source
34   3. windows installer
35
36 * repackage gitian builds:
37
38   * Windows .zip and setup.exe:
39   $ mkdir bitcoin-$VERSION-win32
40   $ cd bitcoin-$VERSION-win32
41   $ unzip bitcoin-$VERSION-win32-gitian.zip
42   $ mv bitcoin-$VERSION-win32-setup.exe ..
43   $ cd ..; zip bitcoin-$VERSION-win32.zip bitcoin-$VERSION-win32
44
45   * Linux .tar.gz:
46   $ mkdir bitcoin-$VERSION-linux
47   $ cd bitcoin-$VERSION-linux
48   $ unzip bitcoin-$VERSION-linux-gitian.zip
49   $ cd ..; tar czvf bitcoin-$VERSION-linux.tar.gz bitcoin-$VERSION-linux
50
51 * perform Mac build
52   * From the bitcoin source dir
53   $ cd contrib
54   $ ./create_osx_dmg.sh
55   $ mv Bitcoin.dmg bitcoin-$VERSION-macosx.dmg
56
57 * upload source and builds to SF
58
59 * create SHA1SUMS for builds, and PGP-sign it
60
61 * update bitcoin.org version
62
63 * update forum version
64
65 * update wiki
66
67 * update wiki download links
68
69