Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
a5f6af00
Commit
a5f6af00
authored
Oct 05, 2015
by
Jan Bruckner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
don't set LATEST_TAG automatically in patch update guide
parent
39772f01
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
doc/update/patch_versions.md
doc/update/patch_versions.md
+4
-2
No files found.
doc/update/patch_versions.md
View file @
a5f6af00
...
@@ -23,9 +23,11 @@ sudo -u git -H bundle exec rake gitlab:backup:create RAILS_ENV=production
...
@@ -23,9 +23,11 @@ sudo -u git -H bundle exec rake gitlab:backup:create RAILS_ENV=production
cd
/home/git/gitlab
cd
/home/git/gitlab
sudo
-u
git
-H
git fetch
--all
sudo
-u
git
-H
git fetch
--all
sudo
-u
git
-H
git checkout
--
Gemfile.lock db/schema.rb
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
### 3. Update gitlab-shell to the corresponding version
...
...
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