diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-10-14 12:44:28 +0200 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-10-14 13:23:01 +0200 |
commit | d10e3c4498e11e97548b0212887a146d19d19ffd (patch) | |
tree | 40160307c143e1796e1dad5e55caf1b9d4a7cdfb /doc/update | |
parent | 3a69dd20a1d8e54c25f871f35f09a1b8b5d4b2a4 (diff) | |
parent | 82da19cecd6390d2372bad36da0a9f89b21abb38 (diff) | |
download | gitlab-ce-d10e3c4498e11e97548b0212887a146d19d19ffd.tar.gz |
Merge branch 'master' into filter-labelfilter-label
Diffstat (limited to 'doc/update')
-rw-r--r-- | doc/update/patch_versions.md | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/update/patch_versions.md b/doc/update/patch_versions.md index a66a863f6c4..da719229ab6 100644 --- a/doc/update/patch_versions.md +++ b/doc/update/patch_versions.md @@ -23,9 +23,11 @@ sudo -u git -H bundle exec rake gitlab:backup:create RAILS_ENV=production cd /home/git/gitlab sudo -u git -H git fetch --all sudo -u git -H git checkout -- Gemfile.lock db/schema.rb -LATEST_TAG=$(git describe --tags `git rev-list --tags --max-count=1`) -sudo -u git -H git checkout $LATEST_TAG -b $LATEST_TAG +sudo -u git -H git checkout LATEST_TAG -b LATEST_TAG ``` +Replace `LATEST_TAG` with the latest GitLab tag you want to update to, for example `v8.0.3`. +Use `git tag -l 'v*.[0-9]' --sort='v:refname'` to see a list of all tags. +Make sure to update patch versions only (check your current version with `cat VERSION`) ### 3. Update gitlab-shell to the corresponding version |