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
5e73a3b1
Commit
5e73a3b1
authored
Dec 14, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove colored gem from upgrader script
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
ee53b739
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
lib/gitlab/upgrader.rb
lib/gitlab/upgrader.rb
+4
-5
No files found.
lib/gitlab/upgrader.rb
View file @
5e73a3b1
require
"colored"
require_relative
"version_info"
module
Gitlab
class
Upgrader
def
execute
puts
"GitLab
#{
current_version
.
major
}
upgrade tool"
.
yellow
puts
"GitLab
#{
current_version
.
major
}
upgrade tool"
puts
"Your version is
#{
current_version
}
"
puts
"Latest available version for GitLab
#{
current_version
.
major
}
is
#{
latest_version
}
"
...
...
@@ -62,12 +61,12 @@ module Gitlab
def
upgrade
update_commands
.
each
do
|
title
,
cmd
|
puts
title
.
yellow
puts
title
puts
" ->
#{
cmd
}
"
if
system
(
cmd
)
puts
" -> OK"
.
green
puts
" -> OK"
else
puts
" -> FAILED"
.
red
puts
" -> FAILED"
puts
"Failed to upgrade. Try to repeat task or proceed with upgrade manually "
exit
1
end
...
...
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