diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index dd4d67ad..e119297a 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -180,10 +180,11 @@ This is only possible if you're a maintainer. 4. Update the ``release`` variable in ``docs/conf.py`` with the new version number. 5. Update the ``__version__`` variable in ``src/grimp/__init__.py`` with the new version number. 6. Update ``project.version`` in ``pyproject.toml`` with the new version number. -7. ``git commit -am "Release v{new version number"`` -8. ``git push`` -9. Wait for tests to pass on CI. -10. ``git tag v{new version number}`` -11. ``git push --tags`` -12. This should kick start the Github ``release`` workflow, which builds wheels and releases the +7. ``uv lock`` to sync ``uv.lock`` with the new version. +8. ``git commit -am "Release v{new version number"`` +9. ``git push`` +10. Wait for tests to pass on CI. +11. ``git tag v{new version number}`` +12. ``git push --tags`` +13. This should kick start the Github ``release`` workflow, which builds wheels and releases the project to PyPI. diff --git a/justfile b/justfile index ea2930a4..b0478035 100644 --- a/justfile +++ b/justfile @@ -71,6 +71,8 @@ format: # Lint Python code. [group('linting')] lint-python: + @echo 'Checking uv.lock is up to date...' + @uv lock --check @echo 'Running ruff format...' @uv run ruff format --check @echo 'Running ruff check...'