require gitlab-shell v1.4.0
This commit is contained in:
parent
561ac35553
commit
3f46287842
|
@ -7,6 +7,7 @@ v 5.2.0
|
|||
- Restyle project clone panel
|
||||
- Move Gitlab::Git code to gitlab_git gem
|
||||
- Move update docs in repo
|
||||
- requires gitlab-shell v1.4.0
|
||||
|
||||
v 5.1.0
|
||||
- You can login with email or username now
|
||||
|
|
|
@ -654,11 +654,13 @@ namespace :gitlab do
|
|||
end
|
||||
|
||||
def check_gitlab_shell
|
||||
required_version = '1.4.0'
|
||||
|
||||
print "GitLab Shell version? ... "
|
||||
if gitlab_shell_version.strip == '1.3.0'
|
||||
puts 'OK (1.3.0)'.green
|
||||
if gitlab_shell_version.strip == required_version
|
||||
puts "OK (#{required_version})".green
|
||||
else
|
||||
puts 'FAIL. Please update gitlab-shell to v1.3.0'.red
|
||||
puts "FAIL. Please update gitlab-shell to v#{required_version}".red
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue