Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
2 changes: 2 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -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...'
Expand Down
Loading