Skip to content
Next
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
GitLab FOSS
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
18
Issues
18
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Security & Compliance
Security & Compliance
Dependency List
Packages
Packages
Container Registry
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GitLab.org
GitLab FOSS
Commits
bdc745b2
Commit
bdc745b2
authored
Dec 06, 2013
by
Sid Sijbrandij
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make everygreen.
parent
d277bf4b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
doc/update/patch_versions.md
doc/update/patch_versions.md
+9
-5
No files found.
doc/update/patch_versions.md
View file @
bdc745b2
# 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
### 0. Backup
...
@@ -14,21 +14,25 @@ sudo -u git -H bundle exec rake gitlab:backup:create RAILS_ENV=production
...
@@ -14,21 +14,25 @@ sudo -u git -H bundle exec rake gitlab:backup:create RAILS_ENV=production
sudo service gitlab stop
sudo service gitlab stop
### 2. Get latest code for
your current
stable branch
### 2. Get latest code for
the
stable branch
```
bash
```
bash
cd
/home/git/gitlab
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
```
bash
cd
/home/git/gitlab-shell
cd
/home/git/gitlab-shell
sudo
-u
git
-H
git fetch
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.
### 4. Install libs, migrations, etc.
```
bash
```
bash
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment