diff options
author | Suzanne Selhorn <sselhorn@gitlab.com> | 2022-07-19 19:35:07 +0300 |
---|---|---|
committer | Suzanne Selhorn <sselhorn@gitlab.com> | 2022-07-19 19:35:07 +0300 |
commit | 3c415f9aff64c1204121c36c1a26d4a1ec666687 (patch) | |
tree | 982b540efb8cb9d8114396ebf9db9936606f7165 | |
parent | e777f2d81f6b17110e1775bc53f6304d4a953fae (diff) | |
parent | a819a8d38ea365c4e7e67e6850634e6d75aa5d4f (diff) |
Merge branch 'sarahgerman-main-patch-07016' into 'main'
Add release process step for the Versions menu
See merge request gitlab-org/gitlab-docs!2927
-rw-r--r-- | doc/releases.md | 11 |
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 ``` |