docs.gitlab.com release 18.7 (December, 2025)
Tasks for all releases
Documentation for handling the docs release is available.
Terminology
The following terms are used throughout this document:
-
Stable branch: This is the branch that matches the GitLab version being released. For example,
for GitLab 17.2, the stable branch is
17.2.
Release week
During the week of the release (usually on Monday):
-
Ensure required tools are installed and up-to-date. In the root path of the
docs-gitlab-comrepository:-
Update your local clone:
make update -
Install and update all project dependencies:
make setup -
Ensure you're authenticated with
glab:$ glab auth status gitlab.com ✓ Logged in to gitlab.com as <username> (<$HOME>/.config/glab-cli/config.yml) ✓ Git operations for gitlab.com configured to use ssh protocol. ✓ API calls for gitlab.com are made over https protocol. ✓ REST API Endpoint: https://gitlab.com/api/v4/ ✓ GraphQL Endpoint: https://gitlab.com/api/graphql/ ✓ Token: **************************
-
-
Link to the main release post MR: Release post - GitLab 18.7 (gitlab-com/www-gitlab-com!141900 - merged)
-
In this issue, create separate comment threads for the retrospective and add items as they appear:
## :+1: What went well this release? ## :-1: What didn't go well this release? ## :chart_with_upwards_trend: What can we improve going forward? -
In the root path of the
docs-gitlab-comrepository, use thecreate-archive-branchMake target to add older docs versions to thegitlab-docs-archivesrepository:make create-archive-branchNote
If you get a
Branch already existserror, skip to the next step.Do NOT create a merge request for this. The changes are deployed after a few minutes. The release number shown in the script is an older release. For example, if the release version is GitLab 18.0, the command deploys to:
archives.docs.gitlab.com/17.9/. You can visithttps://archives.docs.gitlab.com/<version>to verify.
Release day
After the release post is live on Thursday (or Friday depending on timezone):
-
In the root path of the
docs-gitlab-comrepository, use thecreate-stable-branchMake target to create the stable branch by replacingX.Ywith the new version:make create-stable-branch VERSION=X.YCreating the stable branch on the release day is ideal, though this might not always be possible depending on your timezone. Issue 248 exists to automate stable branch creation.
- You can track the progress of the stable branch pipeline from the pipelines list.
- The
test:check_global_nav_entriesjob will fail if a page was added tonavigation.yamlbut did not make the cut-off ingitlabfor this release. If this happens, check out the release branch locally, remove any offending links, and push your change directly back to the release branch. You do not need to create an MR. - When the stable branch pipeline completes, the new version will be available at
docs.gitlab.com/X.Y. Verify that the new release is functional, then proceed to the next step.
-
In the root path of the
docs-gitlab-comrepository, use thecreate-release-merge-requestMake target to create the release merge request by replacingX.Ywith the new version. This merge request updates the version dropdown list for all online versions:make create-release-merge-request VERSION=X.Y-
Verify that the merge request:
- Has the
~releaselabel. - Includes only the following in the Changes tab:
.gitlab-ci.ymlcontent/versions.json
- Has the
-
Verify that the merge request:
-
Ask in Slack in
#tw-teamfor someone to review and merge the release merge request for you. -
After the deployment completes, open
docs.gitlab.comin a browser. Confirm both the latest version and the correct pre-release version are listed in the version dropdown list. Note that it may take up to 5 minutes for the deployed changes to appear on the website due to caching.The next release version appears as the default version in
docs.gitlab.com. -
Check the version dropdown list to ensure all versions of the docs are visible and their version dropdown lists have the expected versions.
- Versions hosted on
docs.gitlab.comshould show the same version options as the pre-release site. - Versions hosted on
archives.docs.gitlab.comshould only show their own version and a link back to the archives page.- This applies to GitLab 15.6 and later. Earlier versions might have broken links in the version dropdown list. This will eventually be resolved as the earlier versions are phased out.
- Versions hosted on
-
Share the following message in the
#tw-teamchannel::mega: The docs <version> release is complete. If you have any feedback about this release, add it to the retro thread in <this issue>.
Post-deployment checklist
After the docs release is complete:
-
Major releases only. Update
OutdatedVersions.ymlwith the latest outdated version. - Improve this checklist.
- Create a release issue for the next release, and assign it to the TW who completed the release post structural check for the current milestone.