Update the README with makefile changes

This commit is contained in:
Alexis Métaireau 2017-03-28 17:48:41 +02:00
parent 2d0c85e0e6
commit 08a4935566
2 changed files with 8 additions and 15 deletions

1
.gitignore vendored
View file

@ -3,4 +3,5 @@ budget/memory
budget/settings.py budget/settings.py
*.pyc *.pyc
*.egg-info *.egg-info
dist
.venv .venv

View file

@ -96,29 +96,21 @@ Thanks again!
How to release? How to release?
=============== ===============
In order to prepare a new release, we are following the following steps. In order to prepare a new release, we are following the following steps:
The `fullrelease` command comes from `zest.releaser - Merge remaining pull requests;
<https://pypi.python.org/pypi/zest.releaser>`_. - Update :file:`CHANGELOG.rst` with the last changes;
- Update :file:`CONTRIBUTORS`;
Install `zest.releaser`:
.. code-block:: bash
$ pip install "zest.releaser"
- Merge remaining pull requests
- Update :file:`CONTRIBUTORS`.
- Update known good versions of dependencies in ``requirements.txt`` with this command (from inside the venv): - Update known good versions of dependencies in ``requirements.txt`` with this command (from inside the venv):
.. code-block:: bash .. code-block:: bash
$ pip freeze | grep -v -- '-e' > requirements.txt $ pip freeze | grep -v -- '-e' > requirements.txt
Once this is done, use the "fullrelease" command: Once this is done, use the "release" instruction:
.. code-block:: bash .. code-block:: bash
$ fullrelease $ make release
That's all folks! And the new version should be published on PyPI.