diff options
author | dosire <sytse@gitlab.com> | 2013-12-06 14:21:33 +0400 |
---|---|---|
committer | dosire <sytse@gitlab.com> | 2013-12-06 14:21:33 +0400 |
commit | bdc745b2915e0f23865557b4575249afc3e7d235 (patch) | |
tree | 5560d6457636555d606dff857751ba626d768e22 /doc | |
parent | d277bf4bf9ad9c0131557b63eadf6a178ac4535d (diff) |
Make everygreen.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/update/patch_versions.md | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/doc/update/patch_versions.md b/doc/update/patch_versions.md index 1b2de226b97..b284ff48365 100644 --- a/doc/update/patch_versions.md +++ b/doc/update/patch_versions.md @@ -1,4 +1,4 @@ -# Universal update guide for patch versions. Ex. from From 6.2.0 to 6.2.1 +# Universal update guide for patch versions. For example from 6.2.0 to 6.2.1, also see the [semantic versioning specification](http://semver.org/). ### 0. Backup @@ -14,21 +14,25 @@ sudo -u git -H bundle exec rake gitlab:backup:create RAILS_ENV=production sudo service gitlab stop -### 2. Get latest code for your current stable branch +### 2. Get latest code for the stable branch ```bash cd /home/git/gitlab -sudo -u git -H git pull origin 6-3-stable +sudo -u git -H git pull origin STABLE_BRANCH ``` -### 3. Update gitlab-shell if necessary +Replace STABLE_BRANCH with the minor version you want to upgrade to, for example `6-3-stable`. + +### 3. Update gitlab-shell if it is not the latest version ```bash cd /home/git/gitlab-shell sudo -u git -H git fetch -sudo -u git -H git checkout v1.7.9 +sudo -u git -H git checkout LATEST_TAG ``` +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 |