Skip to content

Commit

Permalink
Document updating of CHANGELOG.md as part of release
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Browning <[email protected]>
  • Loading branch information
bbrowning committed Dec 10, 2024
1 parent f7c35d7 commit 84cd379
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .spellcheck-en-custom.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# SPDX-License-Identifier: Apache-2.0
Backport
backported
backporting
CHANGELOG
codebase
configs
Dataset
Expand All @@ -22,6 +24,7 @@ Langchain's
LLM
LLMBlock
MCQ
md
Merlinite
Mixtral
MMLU
Expand Down
8 changes: 7 additions & 1 deletion docs/release-strategy.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,14 @@ Release mechanics are done by a Release Manager identified for that release.
The Release Manager is a member of the SDG Maintainers team that has agreed to take on these responsibilities.
The Release Manager can change on a per-release basis.

The following are the steps for how Y-stream and Z-stream releases gets cut.
### Prepare CHANGELOG.md for the release

In the `main` branch, move the appropriate unreleased items in the top level CHANGELOG.md to a section for the new release. And, audit commits in the release and add notes for any missed items. Ensure any changes to CHANGELOG.md also end up on the appropriate release branch, which may involve backporting changes as necessary.

### Y-Stream

Follow these steps when creating a new Y-stream release:

1. Determine a commit on the main branch that will serve as the basis for the next release - most of the time this should be the latest commit.
1. Create a new release branch in the format `release-vX.Y` off of the determined commit (will match `main` if the latest commit is chosen).
1. Create a new release on GitHub targeting the release branch and using the latest Y-Stream tag as the previous release (e.g. `0.15.1` precedes `0.16.0`).
Expand All @@ -56,6 +60,8 @@ The following are the steps for how Y-stream and Z-stream releases gets cut.

### Z-Stream

Follow these steps when creating a new Z-stream release:

1. Backport all relevant commits from `main` to the `release-vX.Y` branch.
- It may also be the case you wish to update release branch first - if this approach is taken, ensure any relevant commits are subsequently backported to `main`
1. Create a new release on GitHub targeting the release branch and using the previous Z-Stream tag as the previous release (e.g. `0.15.0` precedes `0.15.1`).
Expand Down

0 comments on commit 84cd379

Please sign in to comment.