207
208
found at <https://launchpad.net/bzr/+milestone/x.y.z>.
209
210
#. Merge into your branch all previous stable series fixes that haven't been
210
merged yet. For example, if you're releasing 2.5.x, make sure the fixes
211
on 2.4, 2.3, etc have already been merged up::
211
merged yet. For example, if you're releasing 2.6.x, make sure the fixes
212
on 2.5, 2.4, 2.3, etc have already been merged up::
213
214
bzr merge lp:bzr/2.4
226
227
For beta releases use::
228
version_info = (2, 5, 0, 'beta', SERIAL)
232
version_info = (2, 5, 0, 'beta', 5)
229
version_info = (2, 6, 0, 'beta', SERIAL)
233
version_info = (2, 6, 0, 'beta', 1)
234
235
For stable releases use::
236
version_info = (2, 5, 0, 'final', 0)
237
version_info = (2, 6, 0, 'final', 0)
238
239
#. Update the ``./doc/en/release-notes/`` section for this release.
240
241
Check that all news entries related to this release have been added in
241
the right section. For example, if you're releasing 2.5b5, the following
242
command should display a a single chuk diff for the 2.5b5 release::
242
the right section. For example, if you're releasing 2.6b1, the following
243
command should display a a single chuk diff for the 2.6b1 release::
244
bzr diff -rbzr-2.5b4.. doc/en/release-notes/bzr-2.5.txt
245
bzr diff -rbzr-2.6b1.. doc/en/release-notes/bzr-2.6.txt
246
247
Fill out the date and a description of the release under the existing
247
248
header (the diff above will help you summarizing). If there isn't one,
248
249
follow the instructions above for using the ``release-template.txt`` file
249
250
and remind people that they should document their changes there ;)
251
See *2.5b5* or similar for an example of what this looks like.
252
See *2.6b1* or similar for an example of what this looks like.
253
254
#. Add or check the summary of the release into the "What's New" document.
256
If this is the first release in a new series make sure to update the
257
introduction mentioning:
259
* the date of this first release,
260
* until when the series is expected to be supported.
262
Looking at ``bzr annotate`` for previous series should give you the right
263
hints. The ``doc/en/_templates/index.html`` file should also be updated.
255
265
#. To check that all bugs mentioned in the release notes are actually
256
266
marked as closed in Launchpad, you can run
257
267
``tools/check-newsbugs.py``::
538
548
pushed to this branch are refreshed by a cron job on escudero.)
540
550
#. Check that the documentation for this release is available in
541
<http://doc.bazaar.canonical.com>. It should be automatically build when the
542
branch is created, by a cron script ``update-bzr-docs`` on
551
<http://doc.bazaar.canonical.com>. It should be automatically build when
552
the branch is created, by a cron script ``update-bzr-docs`` on
553
``escudero``. When the first release is created in a new series, a branch
554
needs to be created on escudero::
556
ssh escudero.canonical.com
558
cd /srv/doc.bazaar.canonical.com/
559
bzr branch http://bazaar.launchpad.net/~bzr-pqm/bzr/2.5 bzr.2.5
561
And the ``update-bzr-docs`` needs to refer to it.
563
The ``lp:bzr-alldocs`` branch also needs to be updated when a new series
564
is introduced, see the ``README`` file there for more instructions
565
(looking at the branch history is also a good way to understand what
566
needs to be done and to document any policy changes).
546
568
Announcing the release
547
569
----------------------
615
637
series, create these links again. Check all links when doing other
616
638
kinds of release.
618
* Set direct download: When releasing a new stable release, this should
619
point to the corresponding launchpad page:
620
<https://launchpad.net/bzr/x.y/x.y.z/>
622
640
#. Update `<http://en.wikipedia.org/wiki/Bazaar_(software)>`_ -- this should
623
641
be done for the stable and beta releases.