Commit 684599da authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'how-to-release-a-new-version' into 'master'

Explain how to release a new version

See merge request !126
parents 3d22504d b22da792
......@@ -131,3 +131,24 @@ Remove all keys from authorized_keys file:
## Git LFS remark
Starting with GitLab 8.12, GitLab supports Git LFS authentication through ssh.
## Releasing a new version
GitLab Shell is versioned by git tags, and the version used by the Rails
application is stored in
[`GITLAB_SHELL_VERSION`](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/GITLAB_SHELL_VERSION).
For each version, there is a raw version and a tag version:
- The **raw version** is the version number. For instance, `15.2.8`.
- The **tag version** is the raw version prefixed with `v`. For instance, `v15.2.8`.
To release a new version of GitLab Shell and have that version available to the
Rails application:
1. Update the [`CHANGELOG`](CHANGELOG) with the **tag version** and the
[`VERSION`](VERSION) file with the **raw version**.
2. Add a new git tag with the **tag version**.
3. Update `GITLAB_SHELL_VERSION` in the Rails application to the **raw
version**. (Note: this can be done as a separate MR to that, or in and MR
that will make use of the latest GitLab Shell changes.)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment