mirror of
https://github.com/soxoj/maigret.git
synced 2026-05-15 19:05:43 +00:00
Bump to 0.6.1
This commit is contained in:
@@ -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