require gitlab-shell v1.4.0

This commit is contained in:
Dmitriy Zaporozhets 2013-04-30 14:49:35 +03:00
parent 561ac35553
commit 3f46287842
2 changed files with 6 additions and 3 deletions

View File

@ -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

View File

@ -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