513
513
----------------------------
515
515
#. Post to the ``bazaar@lists.canonical.com`` and
516
``bzr-packagers@list.launchpad.net`` lists, saying that the source has
516
``bzr-packagers@lists.launchpad.net`` lists, saying that the source has
517
517
been frozen. Be extra clear that this is only a *source* release targeted
518
518
at packagers and installer builders (see
519
519
<https://bugs.launchpad.net/launchpad/+bug/645084>). This is the cue for
640
640
#. Update `<http://en.wikipedia.org/wiki/Bazaar_(software)>`_ -- this should
641
641
be done for the stable and beta releases.
643
#. Update the python package index: <http://pypi.python.org/pypi/bzr> - best
646
python setup.py register
643
#. Update the python package index: <http://pypi.python.org/pypi/bzr>
645
From the tarball created and tested earlier ::
647
twine upload -s ../bzr-2.7.0.tar.gz
648
649
Remember to check the results afterward -- this should be done for
649
650
stable releases but not for beta releases nor SRUs.
651
To be able to register the release you must create an account on
652
<http://pypi.python.org/pypi> and have one of the existing owners of
653
the project add you to the group.
652
If in doubt, you can test with <https://testpypi.python.org/pypi> where
653
you can register yourself, register the bzr project and upload (and then
654
remove the upload and delete the project so a new release manager can
655
enjoy the same facilities). If the project already exists, have one of
656
the existing owners of the project add you to the group.
658
To use the pypi test site, you need to record your credentials for an
659
existing user (the registration process is manual and starts at
660
<https://testpypi.python.org/pypi?%3Aaction=register_form>.
662
Once registered, you can record your crdentials in your ``~/pypirc`` file
666
username:<login on testpypi>
667
password:<password on testpypi>
668
repository = https://testpypi.python.org/pypi
670
Registering the bzr project if doesn't exist is achieved with::
672
python setup.py -r https://testpypi.python.org/pypi register
674
Uploading is done with::
676
twine upload -r testpypi -s ../bzr-2.7.0.tar.gz
678
To be able to upload the release you must create an account on
679
<http://pypi.python.org/pypi> and have one of the existing owners of the
680
project add you to the group and update your ``[pypi]`` section in your
656
684
Merging the released code back to trunk