Commit 324749486f8d712c48e77a04a482b734c3d54b41

Authored by Jacob Vosmaer
1 parent ac98d74a

Use tags to do minor updates of GitLab

Showing 1 changed file with 3 additions and 2 deletions   Show diff stats
doc/update/patch_versions.md
@@ -18,10 +18,11 @@ sudo -u git -H bundle exec rake gitlab:backup:create RAILS_ENV=production @@ -18,10 +18,11 @@ sudo -u git -H bundle exec rake gitlab:backup:create RAILS_ENV=production
18 18
19 ```bash 19 ```bash
20 cd /home/git/gitlab 20 cd /home/git/gitlab
21 -sudo -u git -H git pull origin STABLE_BRANCH 21 +sudo -u git -H git fetch --all
  22 +sudo -u git -H git checkout LATEST_TAG
22 ``` 23 ```
23 24
24 -Replace STABLE_BRANCH with the minor version you want to upgrade to, for example `6-3-stable`. 25 +Replace LATEST_TAG with the latest GitLab tag you want to upgrade to, for example `v6.6.3`.
25 26
26 ### 3. Update gitlab-shell if it is not the latest version 27 ### 3. Update gitlab-shell if it is not the latest version
27 28