Skip to content
Merged
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
4 changes: 2 additions & 2 deletions docs/how-to/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 `<sha>` is the merge commit GitHub shows on the merged pull request. Start by listing what that commit will release:

Expand All @@ -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..<sha>
```

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 <sha>
Expand Down
Loading