Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarah German <sgerman@gitlab.com>2022-07-19 19:35:07 +0300
committerSuzanne Selhorn <sselhorn@gitlab.com>2022-07-19 19:35:07 +0300
commita819a8d38ea365c4e7e67e6850634e6d75aa5d4f (patch)
tree982b540efb8cb9d8114396ebf9db9936606f7165
parente777f2d81f6b17110e1775bc53f6304d4a953fae (diff)
Add release process step for the Versions menu
-rw-r--r--doc/releases.md11
1 files changed, 9 insertions, 2 deletions
diff --git a/doc/releases.md b/doc/releases.md
index df581220..f5fb2d3c 100644
--- a/doc/releases.md
+++ b/doc/releases.md
@@ -136,18 +136,25 @@ To create the release merge request for the release:
git checkout -b release-15-0
```
-1. Edit `content/_data/versions.yaml` and update the lists of versions to reflect the new release:
+1. Edit `content/_data/versions.yaml` and update the lists of versions to reflect the new release on [the Archives page](https://docs.gitlab.com/archives/):
- Add the latest version to the `online:` section.
- Move the oldest version in `online:` to the `offline:` section. There should now be three
versions in `online:`.
+1. Edit `content/versions.json` and update the lists of versions to reflect the new release in the Versions menu:
+
+ - Move the existing `next` version down to `current`.
+ - Add the upcoming version to the `next` section.
+ - Move the previous `current` down to `last_minor`, replacing the existing version.
+ - If this is a new major release, remove the oldest version from `last_major` and add the previous release here.
+
1. Edit `latest.Dockerfile` by removing the oldest version, and then adding the newest version to the top of the list.
1. Commit and push to create the merge request. For example:
```shell
- git add content/_data/versions.yaml latest.Dockerfile
+ git add content/_data/versions.yaml content/versions.json latest.Dockerfile
git commit -m "Release 15.0"
git push origin release-15-0
```