From e15a60375009e88903ed4352845e4282c96ba5a1 Mon Sep 17 00:00:00 2001 From: Ben Hancock Date: Thu, 3 Dec 2026 19:02:15 +0000 Subject: [PATCH 1/2] docs: check the release date before merging the release pull request The release pull request sets date-released in CITATION.cff when it is opened, and the tag is pushed when it merges, which can be days later. The guide never said to look at the date again, and the Images workflow checks only the version, so a release that slipped would be cited with the wrong date. Step 3 now says to check it just before merging. Raised by CodeRabbit on the v2.0.0 release pull request. Assisted-by: Claude Code (Claude Fable 5.2) --- docs/how-to/release.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/how-to/release.md b/docs/how-to/release.md index 2e952783..73544313 100644 --- a/docs/how-to/release.md +++ b/docs/how-to/release.md @@ -56,7 +56,7 @@ In the commands in this guide, `upstream` is your git remote for `gdslab/data-to 3. **Open the release pull request**, titled `chore: release vX.Y.Z`. Set the new default on the six image lines in `docker-compose.quickstart.yml`, and `version` and `date-released` in `CITATION.cff`. - Just before merging it, check anything else that has merged since step 1 against the table. If one of those changes needs a bigger bump, correct the version in this pull request first. + Just before merging it, check anything else that has merged since step 1 against the table. If one of those changes needs a bigger bump, correct the version in this pull request first. Check `date-released` too: it has to be the day the tag is pushed, and the workflow does not check it. 4. **Merge it, then tag the merge commit straight away** and push the tag. Here `` is the merge commit GitHub shows on the merged pull request. Start by listing what that commit will release: From f17fdc2427f89f30dba330fb8ebba83c158cea80 Mon Sep 17 00:00:00 2001 From: Ben Hancock Date: Thu, 3 Dec 2026 19:03:42 +0000 Subject: [PATCH 2/2] docs: carry the release date into a second release pull request Step 4 sends a release that needs a bigger bump back through a second release pull request, which can merge on a later day than the first. It named only the version as the thing to correct there, so the date check added to step 3 was easy to miss on that path. Raised by CodeRabbit's review of the previous commit. Assisted-by: Claude Code (Claude Fable 5.2) --- docs/how-to/release.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/how-to/release.md b/docs/how-to/release.md index 73544313..d47930f2 100644 --- a/docs/how-to/release.md +++ b/docs/how-to/release.md @@ -65,7 +65,7 @@ In the commands in this guide, `upstream` is your git remote for `gdslab/data-to git log --oneline --merges --first-parent vA.B.C.. ``` - If a pull request slipped in after your last check and needs a bigger bump, do not tag. Merge a second release pull request with the corrected version, and start this step again with its merge commit. Otherwise: + If a pull request slipped in after your last check and needs a bigger bump, do not tag. Merge a second release pull request with the corrected version, and the corrected date if the day has changed, and start this step again with its merge commit. Otherwise: ```bash git tag vX.Y.Z