| name | prepare-code-freeze |
| description | Prepare a NeMo Relay code freeze by creating the release branch, updating nightly alpha branch config, bumping main to the next version, and opening the required PR |
| author | NVIDIA Corporation and Affiliates |
| license | Apache-2.0 |
Prepare Code Freeze
Use this skill when the user asks to start, prepare, or automate a NeMo Relay
code freeze.
Companion Guidance
Use update-project-version for version bump semantics and prepare-pr before
opening the PR.
Workflow
This workflow assumes upstream is the NVIDIA repository remote
(NVIDIA/NeMo-Relay). The origin remote can be a maintainer's personal fork.
-
Confirm or infer the target release version from upstream/main:Cargo.toml.
Derive the release branch as release/<major>.<minor>.
-
Prompt for <next-version> if the user did not provide it. This is the
version that main moves to after the release branch is cut.
-
Fetch the latest main and create the release branch from upstream/main:
git fetch upstream main
git branch release/<major>.<minor> upstream/main
git push upstream release/<major>.<minor>