Skip to content

Update release process#2008

Open
maelvls wants to merge 5 commits intocert-manager:masterfrom
maelvls:update-release-process
Open

Update release process#2008
maelvls wants to merge 5 commits intocert-manager:masterfrom
maelvls:update-release-process

Conversation

@maelvls
Copy link
Member

@maelvls maelvls commented Mar 11, 2026

HackMD added 2 commits March 11, 2026 11:43
It is now clear which branch should be used (release-next or master)

Signed-off-by: Maël Valais <mael@vls.dev>
Copilot AI review requested due to automatic review settings March 11, 2026 15:09
@cert-manager-prow cert-manager-prow bot added the dco-signoff: no Indicates that at least one commit in this pull request is missing the DCO sign-off message. label Mar 11, 2026
@cert-manager-prow
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign hjoshi123 for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@cert-manager-prow cert-manager-prow bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Mar 11, 2026
@netlify
Copy link

netlify bot commented Mar 11, 2026

Deploy Preview for cert-manager ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 532e611
🔍 Latest deploy log https://app.netlify.com/projects/cert-manager/deploys/69b1952b9d87630008b14f75
😎 Deploy Preview https://deploy-preview-2008--cert-manager.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the contributor release-process documentation to reflect a revised set of website PRs (docs freeze, release notes, version bumps) and adjusts the later “merge website PRs” portion of the checklist.

Changes:

  • Replaces/rewrites the website pre-release steps (adds a “Docs Freeze” PR step and refactors “Release Notes” + “Version Bumps” guidance).
  • Updates later step numbering and the website PR merge steps.
  • Adds/updates examples for file paths and manifest.json entries.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +216 to +220
```yaml
{
"routes": [
# ...
{
Copy link

Copilot AI Mar 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fenced code block is labeled as yaml, but the example is JSON (and includes a # ... comment which is not valid JSON). Please switch the fence to json/jsonc (or remove the comment) so readers can copy/paste and tooling highlighting is accurate.

Copilot uses AI. Check for mistakes.
},
{
"title": "1.20",
"path": "/docs/releases/release-notes/release-notes-1.20.md"
Copy link

Copilot AI Mar 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the manifest example, the release notes route path is shown as /docs/releases/release-notes/release-notes-1.20.md, but elsewhere the docs link to release notes under /docs/release-notes/ (e.g., content/docs/releases/README.md points to https://cert-manager.io/docs/release-notes/). Please correct the example path to match the actual release notes URL structure.

Suggested change
"path": "/docs/releases/release-notes/release-notes-1.20.md"
"path": "/docs/release-notes/release-notes-1.20.md"

Copilot uses AI. Check for mistakes.
Comment on lines +245 to +250
Imagining that you are about to release v1.20.0, edit `scripts/gendocs/generate-new-import-path-docs` to change the line that starts with `genversionwithcli` to this:

This copies the `docs/` folder to a versioned folder (e.g. `v1.15-docs`) and removes any
folders which should not be present in versioned docs.
```
CM_BRANCH="release-1.20"
DOCS_FOLDER="docs"
```
Copy link

Copilot AI Mar 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These instructions suggest changing scripts/gendocs/generate-new-import-path-docs to set CM_BRANCH and DOCS_FOLDER, but that script currently doesn't define or use those variables and instead calls genversionwithcli "release-1.xx" "$LATEST_VERSION". As written, the doc is not actionable; please update the instructions to match the script’s real knobs (e.g., updating the genversionwithcli line and/or LATEST_VERSION).

Copilot uses AI. Check for mistakes.
Comment on lines +423 to +431
11. Send a Slack message to `#cert-manager-dev` to announce that you are starting the release:

:::info

Releasing `v1.20.0` 🧵

:::

11. Go through the `cmrel` publish process:
12. Go through the `cmrel` publish process:
Copy link

Copilot AI Mar 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Step numbering skips from 9 to 11 here (there is no step 10), which makes referencing the process difficult. Please renumber this and the subsequent steps so the sequence is continuous (e.g., this Slack announcement step should be 10 if nothing else was inserted).

Copilot uses AI. Check for mistakes.
15. **(final + patch releases)** Merge the 4 Website PRs:
16. (**final releases**) Merge the "Docs Freeze" PR.

17. (**final + patch releases**)
Copy link

Copilot AI Mar 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This step header is incomplete: 17. (**final + patch releases**) has no action/description, and the merge instructions start immediately below. Please add a short title (e.g., "Merge website PRs"), or fold the sub-steps into a properly described step so readers understand what step 17 is for.

Suggested change
17. (**final + patch releases**)
17. (**final + patch releases**) Merge website PRs.

Copilot uses AI. Check for mistakes.
Comment on lines +178 to +189
5. (**final release**) Prepare the "Docs Freeze" PR

This can be prepared ahead of time.
**⚠️ This step can be done ahead of time.**

Imagining that you are about to release v1.20.0, run the following from the master branch:
```
./scripts/freeze-docs 1.19
```

4. **(final + patch releases)** Prepare the Website "Release Notes" PR.
Then, create a PR "Freeze 1.19" on `master`.

4. (**final + patch releases**) Prepare the "Release Notes" PR.
Copy link

Copilot AI Mar 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The top-level ordered list numbering is out of sequence here (jumps from step 2 to 5, then back to 4, then repeats 5). This makes the release process hard to follow and will render confusingly in Markdown. Please renumber these steps sequentially (e.g., 3=Docs Freeze, 4=Release Notes, 5=Version Bumps) and ensure subsequent steps stay consistent.

Copilot uses AI. Check for mistakes.

1. (**final release**) Create a new file `content/docs/release-notes/release-notes-1.xx.md`.
- If you are doing a **final release**, then this PR's base must be the `release-next` branch.
- If you are doing a **patch release**, then this PR's base must be `master`.
Copy link

Copilot AI Mar 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The bullet list indentation is inconsistent: the "patch release" bullet is less indented than the "final release" bullet, which breaks the list formatting in Markdown. Align the indentation so both bullets are part of the same list under this step.

Suggested change
- If you are doing a **patch release**, then this PR's base must be `master`.
- If you are doing a **patch release**, then this PR's base must be `master`.

Copilot uses AI. Check for mistakes.
Comment on lines +198 to +214
The PR will contain the following:

2. (**final release**) Add an entry to `content/docs/manifest.json` for the new release note file:
1. Run the `release-notes` command (see instructions further down below in this page).

```diff
{
"title": "Release Notes",
"routes": [
+ {
+ "title": "v1.12",
+ "path": "/docs/release-notes/release-notes-1.12.md"
+ },
```
1. (**final release**) Move the generated `website-release-notes.md` to `content/docs/release-notes/release-notes-1.20.md`. Make sure to edit it to match the format of our past release notes.

3. Add or update the "Major themes" and "Community" sections, taking inspiration from
previous release note pages. For final releases this will take some time; for
patch releases this should be a minor task and usually will not need to be done.
2. (**patch release**) Add the contents of the generated `website-release-notes.md` to a new section of the existing release, e.g., in `content/docs/release-notes/release-notes-1.20.md`.

2. (**final release**) Create a new file:
```
content/docs/releases/upgrading/upgrading-1.19-1.20.md
```

5. **(final + patch release)** Prepare the Website "Bump Versions" PR.
See for
example: [upgrading-1.0-1.1](https://cert-manager.io/docs/releases/upgrading/upgrading-1.0-1.1.md).

**⚠️ This step can be done ahead of time.**
2. (**final release**) Add an entry to `content/docs/manifest.json` for the new release note file:
Copy link

Copilot AI Mar 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The ordered sub-list under "The PR will contain the following" uses repeated numbers (1, 1, 2, 2, 2), which is easy to misread and inconsistent with the sequential numbering used elsewhere in this document. Please renumber these sub-steps sequentially (or use all 1. consistently if you intend Markdown auto-numbering) so the rendered instructions are unambiguous.

Copilot uses AI. Check for mistakes.
@cert-manager-prow
Copy link
Contributor

Thanks for your pull request. Before we can look at it, you'll need to add a 'DCO signoff' to your commits.

📝 Please follow instructions in the contributing guide to update your commits with the DCO

Full details of the Developer Certificate of Origin can be found at developercertificate.org.

The list of commits missing DCO signoff:

  • cfe9045 before pull from update-release-process
  • 37f0a6b release-process: small nit
  • 644aa02 release-process: small nit
  • 532e611 release-process: another nit
Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dco-signoff: no Indicates that at least one commit in this pull request is missing the DCO sign-off message. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants