@@ -336,18 +336,23 @@ The following instructions assume you're updating the website for the Flux relea
336336 git checkout -b v2-N
337337 git push origin HEAD:v2-N
338338 ` ` `
339- 1. Apply the labels `backport:v2-N`, `backport:v2-(N-1)` and `backport:v2-(N-2)` to the PR created above so that the
340- ` hugo.yaml` file gets updated in the older versions' websites. This step will lead to 3 PRs being automatically
341- created for each of the supported release branches of the website. Do not merge these PRs, yet!
339+ 1. Apply the labels `backport:v2-(N-1)` and `backport:v2-(N-2)` to the PR created above so that the
340+ ` hugo.yaml` file gets updated in the older versions' websites. This step will lead to 2 PRs being
341+ automatically created for the two last supported release branches of the website. **Do not merge these
342+ PRs, yet!**
3423431. In the PR for the `v2-(N-1)` branch, edit the `hugo.yaml` file and set `params.archived_version` to `true`.
3433441. Go to https://app.netlify.com/sites/fluxcd/configuration/deploys#branches-and-deploy-contexts
3443451. Click on "Configure"
3453461. In "Production branch", change the value from `v2-(N-1)` to `v2-N`.
3463471. In "Additional branches" add the "v2-(N-1)" branch.
3473481. Click "Save".
3483491. Now merge the 3 PRs created by the labels you applied in the previous step.
349- 1. Create another PR against the `main` branch to update the `trigger_branch` URL query parameter in the
350- file `.github/workflows/netlify.yml` to point to "v2-N".
350+ 1. Create another PR against the `main` branch to :
351+ 1. Update the `trigger_branch` URL query parameter in the file `.github/workflows/netlify.yml` to point to "v2-N".
352+ 1. Update the website announcement banner in the file `content/en/_index.html` to point to the blog post of
353+ the new release, and change the string right below from `Announcing Flux 2.N-1 GA` to
354+ ` Announcing Flux 2.N GA` .
355+ 1. Merge the PR and backport to the `v2-N` branch by applying the `backport:v2-N` label to the PR.
351356
352357# ### Distribution: patch releases
353358
0 commit comments