17
17
#. Make a local branch for preparing this release. (Only for the first
18
18
release in a series, otherwise you should already have a branch.) ::
20
bzr branch trunk prepare-1.6
20
bzr branch trunk prepare-1.14
22
#. Download the pqm plugin and install it into your ``~/.bazaar/plugins``::
24
bzr branch lp:bzr-pqm ~/.bazaar/plugins/pqm
22
26
#. Configure pqm-submit for this branch, with a section like this in
23
27
``~/.bazaar/locations.conf``::
25
[/home/mbp/bzr/prepare-1.4]
29
[/home/mbp/bzr/prepare-1.14]
26
30
pqm_email = Canonical PQM <pqm@bazaar-vcs.org>
27
submit_branch = http://bazaar-vcs.org/bzr/bzr.1.4
31
submit_branch = http://bazaar-vcs.org/bzr/bzr.1.14
32
public_branch = http://bazaar.your-domain.com/bzr
28
33
submit_to = bazaar@lists.canonical.com
30
#. In the release branch, update ``version_info`` in
31
``./bzrlib/__init__.py``. Check the output of ``bzr --version``.
34
smtp_server = mail.your-domain.com:25
36
Please see <http://doc.bazaar-vcs.org/latest/developers/HACKING.html#an-overview-of-pqm>
37
for more details on PQM
39
#. In the release branch, update ``version_info`` in ``./bzrlib/__init__.py``.
40
Double check that ./bzr ``_script_version`` matches ``version_info``. Check
41
the output of ``bzr --version``.
33
43
#. Add the date and release number to ``./NEWS``
42
52
#. Commit these changes to the release branch, using a command like::
44
bzr commit -m "Release 0.12rc1."
54
bzr commit -m "Release 1.14."
46
56
The diff before you commit will be something like::
82
92
#. Tag the new release::
86
#. Submit those changes to PQM for merge into the appropriate release
96
#. Push those changes to a bzr reposistory that is public and accessible on
97
the Internet. PQM will pull from this repository when it attempts to merge
98
your changes. Then submit those changes to PQM for merge into the
99
appropriate release branch::
90
bzr pqm-submit -m "(mbp) prepare 1.6"
102
bzr pqm-submit -m "(mbp) prepare 1.14"
92
104
#. When PQM succeeds, pull down the master release branch.
115
127
available to the world.
117
129
#. In <https://launchpad.net/bzr/> click the "Release series" for this
118
series, to take you to e.g. <https://launchpad.net/bzr/1.1>. Then
130
series, to take you to e.g. <https://launchpad.net/bzr/1.14>. Then
119
131
click "Register a release", and add information about this release.
121
133
#. Within that release, upload the source tarball and zipfile and the GPG
175
187
you do not have a Freshmeat account yet, ask one of the existing
178
#. Update http://en.wikipedia.org/wiki/Bzr -- this should be done for
179
final releases but not for Release Candidates.
190
#. Update `<http://en.wikipedia.org/wiki/Bazaar_(software)>`_ -- this should be done
191
for final releases but not for Release Candidates.
181
193
#. Update the python package index: <http://pypi.python.org/pypi/bzr> - best
182
194
done by running ::
198
210
the version number in ``bzr`` and ``bzrlib/__init__.py``. Submit this
199
211
back into pqm for bzr.dev.
213
You should also merge (not pull) the release branch into
214
``lp:~bzr/bzr/current``, so that branch contains the current released code
205
* `Packaging into the bzr PPA <ppa.html>`_ to make and publish Ubuntu
207
* `Bazaar Developer Document Catalog <index.html>`_
208
* `Development cycles <cycle.html>`_: things that happen during the cycle
209
before the actual release.
221
* `Packaging into the bzr PPA <ppa.html>`_ to make and publish Ubuntu
223
* `Bazaar Developer Document Catalog <index.html>`_
224
* `Development cycles <cycle.html>`_: things that happen during the cycle
225
before the actual release.
213
228
vim: filetype=rst textwidth=74 ai shiftwidth=4