From 1964d8bb5a4db61ee2a108f88496208250b5a048 Mon Sep 17 00:00:00 2001 From: Julien Cristau Date: Fri, 29 Aug 2025 11:58:42 +0200 Subject: [PATCH] docs: add `uv lock` step to release instructions --- CONTRIBUTING.rst | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index a8dd6f131..ea8965415 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -157,15 +157,16 @@ In order to release a new version of Taskgraph, you will need to: 1. Update ``CHANGELOG.md`` 2. Update ``version`` in ``pyproject.toml`` -3. Commit, and land the above changes with a commit message like "chore: bump " -4. Draft a release in Github pointing to the above commit. +3. Run ``uv lock`` +4. Commit, and land the above changes with a commit message like "chore: bump " +5. Draft a release in Github pointing to the above commit. a. Create a new tag of the form ``X.Y.Z`` b. Ensure "Set as latest release" is checked c. Submit the release -5. Wait for the ``pypi-publish`` Github workflow and ``push-image-decision`` task to finish. -6. Verify that expected version has been published to `pypi +6. Wait for the ``pypi-publish`` Github workflow and ``push-image-decision`` task to finish. +7. Verify that expected version has been published to `pypi `__ and pushed to `DockerHub`_. .. _DockerHub: https://hub.docker.com/r/mozillareleases/taskgraph/tags @@ -176,7 +177,7 @@ Releasing pytest-taskgraph There's also a Pytest plugin packaged under ``packages/pytest-taskgraph``. The release process for this package is: -1. Update ``version`` in ``packages/pytest-taskgraph/pyproject.toml`` +1. Update ``version`` in ``packages/pytest-taskgraph/pyproject.toml``, and run ``uv lock`` 2. Commit and land the changes with a commit message like "chore: bump pytest-taskgraph " 3. Draft a release in Github pointing to the above commit.