summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSytse Sijbrandij <sytses@gmail.com>2014-10-28 10:57:30 -0700
committerSytse Sijbrandij <sytses@gmail.com>2014-10-28 10:57:30 -0700
commit1d0f638248edc12c1e36f3276e895eee31584601 (patch)
tree09f824dca621a576b8061abb1527703af6cdee8c
parent1ad78be981109b6ed85774fb93a15be1a044658f (diff)
downloadgitlab-ce-update-gitlab-shell-to-corresponding-version.tar.gz
Don't update GitLab Shell to the latest version but to the corresponding version.update-gitlab-shell-to-corresponding-version
-rw-r--r--doc/update/patch_versions.md6
1 files changed, 2 insertions, 4 deletions
diff --git a/doc/update/patch_versions.md b/doc/update/patch_versions.md
index c4a77d12800..629c46ad030 100644
--- a/doc/update/patch_versions.md
+++ b/doc/update/patch_versions.md
@@ -26,16 +26,14 @@ sudo -u git -H git checkout LATEST_TAG
Replace LATEST_TAG with the latest GitLab tag you want to upgrade to, for example `v6.6.3`.
-### 3. Update gitlab-shell if it is not the latest version
+### 3. Update gitlab-shell to the corresponding version
```bash
cd /home/git/gitlab-shell
sudo -u git -H git fetch
-sudo -u git -H git checkout LATEST_TAG
+sudo -u git -H git checkout v`cat /home/git/gitlab/GITLAB_SHELL_VERSION`
```
-Replace LATEST_TAG with the latest GitLab Shell tag you want to upgrade to, for example `v1.7.9`.
-
### 4. Install libs, migrations, etc.
```bash