1
Short checklist and instructions how to make release
2
====================================================
4
When you're ready to make release X.Y.Z you need to do
9
1. Update ./NEWS.txt with descriptions of user-visible changes.
10
2. Update version numbers in following places:
12
* ./__init__.py: at the beginning of file::
14
version_info = (X, Y, Z, 'final', 0)
16
* ./setup.py: function setup() at the end of file, argument version::
20
* ./installer/qbzr-setup.nsi: at the beginning of file::
22
!define PRODUCT_VERSION "X.Y.Z"
24
3. Commit this changes and tag the revision with label: release-X.Y.Z
25
4. Push the code to Launchpad
28
Register release at Launchpad
29
-----------------------------
30
1. Make corresponding page for new release on Launchpad:
32
https://launchpad.net/qbzr/trunk/+addrelease
34
2. Put info about release from ./NEWS.txt to Description section.
37
Build distribution files
38
------------------------
39
1. Make source code tarball::
41
bzr export --root=qbzr qbzr-X.Y.Z.tar.gz
43
The file qbzr-X.Y.Z.tar.gz will be created in tree root directory.
44
Sign this file with your GPG key::
46
gpg -ab qbzr-X.Y.Z.tar.gz
48
2. Build binary translations files::
50
python setup.py build_mo -f
52
3. Make Windows Python-based installer::
54
python setup.py bdist_wininst -d.
56
This command will produce qbzr-X.Y.Z.win32.exe file in tree root directory.
57
Sign this file with your GPG key::
59
gpg -ab qbzr-X.Y.Z.win32.exe
61
4. Make Windows Standalone installer::
63
python setup.py bdist_nsis
65
This command will produce qbzr-setup-X.Y.Z.exe file in 'installer' directory.
66
Sign this file with your GPG key::
68
gpg -ab qbzr-setup-X.Y.Z.exe
70
5. Upload tarball and installers with their gpg-signatures to Launchpad:
72
https://launchpad.net/qbzr/trunk/X.Y.Z/+adddownloadfile
77
1. Update QBzr page at Bazaar wiki with corresponding NEWS entry,
78
update links to tarball and installers.
80
http://bazaar-vcs.org/QBzr
85
1. Send short e-mail with announcement to <bazaar-announce@lists.canonical.com>
86
and optionally to main Bazaar ML <bazaar@lists.canonical.com>
88
2. Optionally make announcement about release via Launchpad RSS:
90
https://launchpad.net/qbzr/+announce
93
Finishing stuff at Launchpad
94
----------------------------
95
1. Mark all bugs targeted to X.Y.Z milestone as Fix Released.
97
2. Mark corresponding milestone X.Y.Z as inactive:
99
https://launchpad.net/qbzr/+milestone/X.Y.Z/+edit
102
Create deb packages with Launchpad PPA
103
--------------------------------------