Skip to content

Commit

Permalink
doc: release instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
azmeuk committed Nov 13, 2024
1 parent 9d2fbfd commit c0b6fa3
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -178,15 +178,15 @@ The generated documentation is located at ``build/sphinx/html``.
Publish a new release
---------------------

1. Check that dependencies are up to date with ``uv sync --upgrade`` and update dependencies accordingly in separated commits.
2. Check that tests are still green for every supported python version, and that coverage is still at 100%, by running ``uv run tox``
3. Check that the demo environments are still working
4. Check that the :ref:`development/changelog:Release notes` section is correctly filled up
5. Increase the version number in ``pyproject.toml``
6. Commit with ``git commit``
7. Build with ``uv build``
8. Publish on test PyPI with ``uv publish --publish-url https://test.pypi.org/legacy/``
9. Install the test package somewhere with ``pip install --extra-index-url https://test.pypi.org/simple --upgrade canaille``. Check that everything looks fine.
10. Publish on production PyPI ``uv publish``
11. Tag you commit with ``git tag XX.YY.ZZ``
12. Push the release commit and the new tag on the repository with ``git push --tags``
1. Check that dependencies are up to date with ``uv sync --upgrade`` and update dependencies accordingly in separated commits;
2. Check that tests are still green for every supported python version, and that coverage is still at 100%, by running ``uv run tox``;
3. Check that the demo environments are still working, both the local and the Docker one;
4. Check that the :ref:`development/changelog:Release notes` section is correctly filled up;
5. Increase the version number in ``pyproject.toml``;
6. Commit with ``git commit``;
7. Build with ``uv build``;
8. Publish on test PyPI with ``uv publish --publish-url https://test.pypi.org/legacy/``;
9. Install the test package somewhere with ``pip install --extra-index-url https://test.pypi.org/simple --upgrade canaille``. Check that everything looks fine;
10. Publish on production PyPI ``uv publish``;
11. Tag the commit with ``git tag XX.YY.ZZ``;
12. Push the release commit and the new tag on the repository with ``git push --tags``.

0 comments on commit c0b6fa3

Please sign in to comment.