/usr/share/python-ase/doc/development/newrelease.rst is in python-ase-doc 3.9.1.4567-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | .. _newrelease:
===========
New release
===========
When it is time for a new release of the code, here is what you have to do:
** **Warning:** use only three digits release numbers, e.g. *3.9.0*,
* Checkout the :ref:`latest_development_release`.
* :ref:`running_tests`.
* Make sure version.py has the correct version number.
* Make a tag in svn, using the current version number
(to make sure **not** to include changes done by other developers
in the meantime!)::
svn copy -r 845 https://svn.fysik.dtu.dk/projects/ase/trunk https://svn.fysik.dtu.dk/projects/ase/tags/3.9.0 -m "Version 3.9.0"
**Note** the resulting tag's revision ``tags_revision``.
* **Checkout** the source, specyfing the version number in the directory name::
svn co -r tags_revision https://svn.fysik.dtu.dk/projects/ase/tags/3.9.0 ase-3.9.0
* Create the tar file::
cd ase-3.9.0
rm -f MANIFEST ase/svnversion.py*; python setup.py sdist
Note that the ``tags_revision`` is put into the name of the
tar file automatically. Make sure that you are getting only
``tags_revision`` in the tar file name! Any changes to the source
will be reflected as a mixed or modified revision tag!
* Put the tar file on webX (set it read-able for all)::
scp dist/python-ase-3.9.0.4465.tar.gz root@webX:/var/www/wiki/ase-files
* Add a link on :ref:`news` and update the information
on the :ref:`download_and_install` page and the :ref:`releasenotes` page.
* Add the new release on https://pypi.python.org/pypi/python-ase/:
- under the ``edit`` menu increase the version number to *3.9.0*
- under the ``files`` menu add the tar file as ``File Type`` ``Source``
* Increase the version number in ase/version.py, and commit the change::
cd ~/ase
svn ci -m "Version 3.9.1"
Now the trunk is ready for work on the new version.
* Send announcement email to the ``ase-users`` mailing list (see
:ref:`mailing_lists`).
|