BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
5e73a3b1
Unverified
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
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
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