mirror of
https://github.com/soxoj/maigret.git
synced 2026-05-16 19:35:38 +00:00
Bump to 0.6.1 (#2661)
This commit is contained in:
+2
-2
@@ -6,8 +6,8 @@ project = 'Maigret'
|
||||
copyright = '2025, soxoj'
|
||||
author = 'soxoj'
|
||||
|
||||
release = '0.5.0'
|
||||
version = '0.5'
|
||||
release = '0.6.1'
|
||||
version = '0.6'
|
||||
|
||||
# -- General configuration
|
||||
|
||||
|
||||
@@ -283,12 +283,21 @@ PyPi package.
|
||||
|
||||
git checkout -b 0.4.0
|
||||
|
||||
2. Update Maigret version in three files manually:
|
||||
2. Update Maigret version in four files manually. **All four must be in
|
||||
sync** — the previous bump missed ``docs/source/conf.py`` and
|
||||
``snapcraft.yaml`` and they fell behind by a release.
|
||||
|
||||
- pyproject.toml
|
||||
- maigret/__version__.py
|
||||
- docs/source/conf.py
|
||||
- snapcraft.yaml
|
||||
- ``pyproject.toml`` — single line ``version = "X.Y.Z"`` under
|
||||
``[tool.poetry]``.
|
||||
- ``maigret/__version__.py`` — single line ``__version__ = 'X.Y.Z'``.
|
||||
- ``docs/source/conf.py`` — **two** Sphinx fields. ``release`` is the
|
||||
full version (``'X.Y.Z'``); ``version`` is the short ``major.minor``
|
||||
(``'X.Y'``, **without** the patch number). Update **both**.
|
||||
- ``snapcraft.yaml`` — single line ``version: X.Y.Z`` (no quotes, no
|
||||
``v`` prefix).
|
||||
|
||||
After editing, sanity-check with ``grep -rE '0\.5\.|0\.6\.|<old>'`` to
|
||||
catch any straggler reference.
|
||||
|
||||
3. Create a new empty text section in the beginning of the file `CHANGELOG.md` with a current date:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user