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``
45
#. To check that all bugs mentioned in ``./NEWS`` are actually marked as
46
closed in Launchpad, you can run ``tools/check-newsbugs.py``::
48
./tools/check-newsbugs.py NEWS
35
50
#. Summarize into one or two paragraphs what's new in this release.
37
52
#. Commit these changes to the release branch, using a command like::
39
bzr commit -m "Release 0.12rc1."
54
bzr commit -m "Release 1.14."
41
56
The diff before you commit will be something like::
77
92
#. Tag the new release::
81
#. 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::
85
bzr pqm-submit -m "(mbp) prepare 1.6"
102
bzr pqm-submit -m "(mbp) prepare 1.14"
87
104
#. When PQM succeeds, pull down the master release branch.
110
127
available to the world.
112
129
#. In <https://launchpad.net/bzr/> click the "Release series" for this
113
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
114
131
click "Register a release", and add information about this release.
116
133
#. Within that release, upload the source tarball and zipfile and the GPG
141
158
``Reply-To: bazaar@lists.canonical.com``, so that people who reply to
142
159
the announcement don't spam other lists.
144
The announce mail will look something like this:
161
The announce mail will look something like this::
146
| Subject: bzr x.yy released!
148
| <<Summary paragraph from news>>
150
| The Bazaar team is happy to announce availability of a new
151
| release of the bzr adaptive version control system.
153
| Thanks to everyone who contributed patches, suggestions, and
156
| Bazaar is now available for download from
157
| http://bazaar-vcs.org/Download as a source tarball; packages
158
| for various systems will be available soon.
160
| <<NEWS section from this release back to the last major release>>
163
Subject: bzr x.yy released!
165
<<Summary paragraph from news>>
167
The Bazaar team is happy to announce availability of a new
168
release of the bzr adaptive version control system.
169
Bazaar is part of the GNU system <http://gnu.org/>.
171
Thanks to everyone who contributed patches, suggestions, and
174
Bazaar is now available for download from
175
http://bazaar-vcs.org/Download as a source tarball; packages
176
for various systems will be available soon.
178
<<NEWS section from this release back to the last major release>>
180
Feel free to tweak this to your taste.
162
182
#. Make an announcement through <https://launchpad.net/bzr/+announce>
170
190
you do not have a Freshmeat account yet, ask one of the existing
173
#. Update http://en.wikipedia.org/wiki/Bzr -- this should be done for
174
final releases but not for Release Candidates.
193
#. Update `<http://en.wikipedia.org/wiki/Bazaar_(software)>`_ -- this should be done
194
for final releases but not for Release Candidates.
176
196
#. Update the python package index: <http://pypi.python.org/pypi/bzr> - best
177
197
done by running ::
193
213
the version number in ``bzr`` and ``bzrlib/__init__.py``. Submit this
194
214
back into pqm for bzr.dev.
216
You should also merge (not pull) the release branch into
217
``lp:~bzr/bzr/current``, so that branch contains the current released code
200
* `Packaging into the bzr PPA <ppa.html>`_ to make and publish Ubuntu
202
* `Bazaar Developer Document Catalog <index.html>`_
203
* `Development cycles <cycle.html>`_: things that happen during the cycle
204
before the actual release.
224
* `Packaging into the bzr PPA <ppa.html>`_ to make and publish Ubuntu
226
* `Bazaar Developer Document Catalog <index.html>`_
227
* `Development cycles <cycle.html>`_: things that happen during the cycle
228
before the actual release.
208
231
vim: filetype=rst textwidth=74 ai shiftwidth=4