From 464683e09baa5302b7a43df533dd090b1aeaa792 Mon Sep 17 00:00:00 2001 From: "Steven B." <51370195+sdb9696@users.noreply.github.com> Date: Tue, 10 Dec 2024 21:23:04 +0000 Subject: [PATCH] Tweak RELEASING.md instructions for patch releases (#1347) --- RELEASING.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/RELEASING.md b/RELEASING.md index 032aeb0c..e3527cea 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -283,9 +283,12 @@ git rebase upstream/master git checkout -b janitor/merge_patch git fetch upstream patch git merge upstream/patch --no-commit +# If there are any merge conflicts run the following command which will simply make master win +# Do not run it if there are no conflicts as it will end up checking out upstream/master git diff --name-only --diff-filter=U | xargs git checkout upstream/master +# Check the diff is as expected git diff --staged -# The only diff should be the version in pyproject.toml and CHANGELOG.md +# The only diff should be the version in pyproject.toml and uv.lock, and CHANGELOG.md # unless a change made on patch that was not part of a cherry-pick commit # If there are any other unexpected diffs `git checkout upstream/master [thefilename]` git commit -m "Merge patch into local master" -S